Add # anchors before headers in markup

This commit is contained in:
ItsDrike 2021-08-26 02:38:21 +02:00
parent 2e399a6661
commit 0db48617ec
No known key found for this signature in database
GPG key ID: B5F6B41F708C3ADD

View file

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