status-desktop/devuser_guide/layouts/partials/main/headline-hash.html

1 line
139 B
HTML

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