lepture/mistune

How to disable some markdown tags?

jet10000 opened this issue · 1 comments

for example, disable #, ##, ## tags

Please allow disable some markdown tags.

You can remove the rules from BlockParser, for example:

block = BlockParser()
block.rules.remove('axt_heading')
markdown = Markdown(HTMLRenderer(), block=block)