rsms / markdown-wasm

Very fast Markdown parser and HTML generator implemented in WebAssembly, based on md4c
https://rsms.me/markdown-wasm/
MIT License
1.51k stars 62 forks source link

How add class or id for h tags ? #12

Closed zababurinsv closed 3 years ago

zababurinsv commented 3 years ago

Hi. I have included this library. And my output is this format.

<h1><a id="" class="anchor" aria-hidden="true" href="#"></a>test 1</h1>
<h2><a id="" class="anchor" aria-hidden="true" href="#"></a>test 2</h2>

How add my id or class in markdown ? And is it possible not to create tags a. How about adding an id for the h tag? And how can i convert html to markdown ?