Home / GitHub Page

Add support for custom attributes on html tags

It would be a benefit to add support for custom attributes.
For example it would be possible to add warning, notes, info,… blockquotes
with different colors (with help of userstyle.css)
This could be achieved with the markdown-it-attrs lib.

For advanced HTML formatting, you can simply use HTML.

Actually, for me, this:

<h1 class="style-me">header</h1>

is much clearer than this:

# header {.style-me}

In general we try to keep the Markdown code as simple as possible and simply allow HTML for more advanced things.