focalboard/website/site/layouts/partials/hanchor.html
2021-01-07 14:12:26 -08:00

1 line
161 B
HTML

{{ . | replaceRE "(<h[1-9] id=\"([^\"]+)\".+)(</h[1-9]+>)" `${1}&nbsp;<a class="hanchor fa fa-link" ariaLabel="Anchor" href="#${2}"></i></a> ${3}` | safeHTML }}