markdown-wasm
markdown-wasm copied to clipboard
Option to disable anchor in title block
Hi! Thanks for this library. It's really super fast!
I've some issues when I send the html output to a wysiwyg editor caused by the anchor link added in each title.
Let's say there is a title:
# h1
The output is:
<h1><a id="h1" class="anchor" aria-hidden="true" href="#h1"></a>h1</h1>
It's a good idea to add an anchor, but that doesn't play well with some wysiwyg editor like prosemiror. Currently, I manually remove this anchor, but it would be nice to have an option to disable this feature.
yes, i hope too
I hope it can be solved
+ 1 for this feature. I would like to use custom post processing for adding anchors