🎨 Move heading anchors to render hook

This commit is contained in:
James Panther
2021-08-13 17:17:32 +10:00
parent d0ddf5f8c5
commit b1168b98dc
6 changed files with 10 additions and 9 deletions
@@ -0,0 +1 @@
<h{{ .Level }} id="{{ .Anchor | safeURL }}">{{ .Text | safeHTML }} <a class="heading-anchor" href="#{{ .Anchor | safeURL }}" aria-label="Anchor">#</a></h{{ .Level }}>