Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add html() helper to markdown documents to quickly render them #109

Closed
caendesilva opened this issue Jun 24, 2022 · 2 comments · Fixed by #127
Closed

Add html() helper to markdown documents to quickly render them #109

caendesilva opened this issue Jun 24, 2022 · 2 comments · Fixed by #127
Assignees

Comments

@caendesilva
Copy link
Member

No description provided.

@caendesilva caendesilva self-assigned this Jun 25, 2022
@caendesilva
Copy link
Member Author

Is html() the best method name? Maybe toHtml() clearer, though render() could probably also work?

@caendesilva
Copy link
Member Author

The way I think I will go about this is that the render method will render just the markdown body, without any underlying Blade views.

caendesilva added a commit that referenced this issue Jul 2, 2022
Added new helper method render() to MarkdownDocuments to compile the Markdown to HTML, fixes #109
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant