hugo-snotra/layouts/_default/_markup/render-heading.html

8 lines
191 B
HTML
Raw Permalink Normal View History

<h{{ .Level }} id="{{ .Anchor | safeURL }}">
<a class="anchor" href="#{{ .Anchor | safeURL }}">
#
<!-- {{ strings.Repeat .Level "#" }} -->
</a>
{{ .Text | safeHTML }}
</h{{ .Level }}>