Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello!
I'm really interested in md rendering native to Deno. I think adding CSS classes to the rendered markdown elements would be a fantastic feature. This would allow users to include their own styling without the need to rewrite the whole Marked Render class from scratch. Additionally, I think this works great for Fresh users (or other frameworks) because it gives them a way to add
twind
classes.Finally, I think that the requirement of markdown rendering extends further than sites that come from mostly markdown generation (like documentation sites). Frequently, in normal web app sites, I get the requirement of rendering a few static markdown blocks, for user instructions, pieces of documentation, or content that is more convenient to write with a markdown editor. Most of these would like to add their own styling to the rendered content.
I hope my previous arguments convince you of the potential of this feature. Even if you don't see it fit for this project, I would love to hear advice or recommendation. Thank you for reading and for this project.