You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# h1## h2### [h3](/already/linky)#### h4##### h5###### h6# h1 foo bar 中文 no-ascii should be ok_-/
=>
<h1id="h1">h1</h1><h2id="h2">h2</h2><h3id="h3-%2FFalready%2Flinky"><ahref="/already/linky">h3</a></h3><h4id="h4">h4</h4><h5id="h5">h5</h5><h6id="h6">h6</h6><h1id="h1-foo-bar-%E4%B8%AD%E6%96%87-no-ascii-should-be-ok_-%2F">h1 foo bar 中文 no-ascii should be ok_-/</h1>
Should I implementation this with syntax extensions?
The text was updated successfully, but these errors were encountered:
Simple implementation will be unsafe (both via id & name) or not universal (with prefixes), that's the main reason why we not added heading anchors by default yet. That needs discussion.
Right now it's better to implement those locally via md.renderer.rules.header override, if you need those and can't wait. Or, if you decide to publish plugin - write there with "big letters" about possible security problems on unproper use.
e.g.:
=>
Should I implementation this with syntax extensions?
The text was updated successfully, but these errors were encountered: