Simplify heading rendering

This commit is contained in:
Michael Schnerring
2021-10-15 14:22:46 +02:00
parent cd1f9f5811
commit 611f836e02
4 changed files with 3 additions and 3 deletions

View File

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