experimental heading anchor

This commit is contained in:
loikein 2023-04-15 15:29:32 +01:00
parent 3922e52f50
commit 233074c9bf

View file

@ -0,0 +1,4 @@
<h{{ .Level }} id="{{ .Anchor | safeURL }}">
{{ .Text | safeHTML }}
<a href="#{{ .Anchor | safeURL }}" class="heading-anchor">#</a>
</h{{ .Level }}>