7 lines
232 B
HTML
7 lines
232 B
HTML
<h{{ .Level }} id="{{ .Anchor }}" {{- with .Attributes.class -}}class="{{ . }}"{{- end -}}>
|
|
{{- .Text -}}
|
|
{{- if default true .Attributes.anchor -}}
|
|
<a class="anchor" href="#{{ .Anchor }}">#</a>
|
|
{{- end -}}
|
|
</h{{ .Level }}>
|