5 lines
225 B
HTML
5 lines
225 B
HTML
|
<h{{ .Level }} id="{{ .Anchor | safeURL }}">{{ .Text | safeHTML }}
|
||
|
{{- if and (ge .Level 2) (le .Level 4) }}{{" " -}}
|
||
|
<a class="header-link" href="#{{ .Anchor | safeURL }}"><span>⌗</span></a>
|
||
|
{{- end -}}
|
||
|
</h{{ .Level }}>
|