8 lines
257 B
HTML
8 lines
257 B
HTML
<h{{ .Level }} id="{{ .Anchor | safeURL }}" {{ if .Attributes.style }}style="{{ .Attributes.style | safeCSS }}"{{ end }}>
|
|
<div>
|
|
<a href="#{{ .Anchor }}">
|
|
{{ range seq 2 .Level}}#{{end}}
|
|
</a>
|
|
{{ .Text | safeHTML }}
|
|
</div>
|
|
</h{{ .Level }}> |