Files
congo-hindi-gujarati/layouts/partials/heading-anchor.html
T
James Panther a6a3ee761e 🎉 Initial commit
2021-08-11 15:28:33 +10:00

2 lines
155 B
HTML

{{ . | replaceRE "(<h[2-4] id=\"([^\"]+)\".+)(</h[2-9]+>)" `${1}&nbsp;<a class="heading-anchor" href="#${2}" aria-label="Anchor">#</a> ${3}` | safeHTML }}