Add a render template for headings

Create heading anchors and style them with colors and stuff
This commit is contained in:
Eryn Wells 2023-11-18 11:13:16 -08:00
parent bfee27e7c5
commit f905b16940
2 changed files with 10 additions and 0 deletions

View file

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