Add `:heading-anchors true` to the markdown compilation
elken opened this issue · 0 comments
elken commented
As noted here:
Specifying
:heading-anchors
will create anchors for the heading tags, eg:
(markdown/md-to-html-string "###foo bar BAz" :heading-anchors true)<h3 id=\"foo_bar_baz\">foo bar BAz</h3>
Which allows for headings to be navigated to and, with some javascript, linked to (if desired this can also be added to the linked PR)