feat(layout): add custom heading generation

This commit is contained in:
Wiktor Zykubek 2024-12-28 01:27:43 +01:00
parent 768117165f
commit fa2d060602
Signed by: wzykubek
GPG Key ID: 2221881F957D89B9

View File

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