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

@ -1 +0,0 @@
{{ . | replaceRE "(<h[2-9] id=\"([^\"]+)\".+)(</h[2-9]+>)" `${1}<a href="#${2}" class="anchor" aria-hidden="true">#</a> ${3}` | safeHTML }}