Closed gxfr closed 3 years ago
Hi there, I don't think there's an easy / general way to say that just some Markdown constructs should be parsed. Fortunately though, this won't be needed by many mistletoe users, I guess?
Insight: While custom renderers can add their own extra tokens to be parsed, the default set of parsed tokens is pretty much hard-coded. There is also this core_tokens.py which takes care of parsing all the "core" tokens like emphasis, italics, links (including footnotes) or images "in one go", without the possibility to easily skip some of them.
I hope I answered your question. :)
Suppose I would only like to parse italics, bold and headers. Is there a way to only parse
<i>
,<b>
and<h1-6>
tags?