5 lines
362 B
HTML
5 lines
362 B
HTML
<h{{.Level}} class="rendered-heading" id="{{.Anchor | safeURL}}">{{- /* chomp whitespace */ -}}
|
|
<span class="rendered-heading__text">{{.Text | safeHTML}}</span>{{- /* chomp whitespace */ -}}
|
|
<a class="rendered-heading__anchor-link" href="#{{.Anchor | safeURL}}" aria-hidden="true">{{- /* chomp whitespace */ -}}
|
|
</a>{{- /* chomp whitespace */ -}}
|
|
</h{{.Level}}>
|