<h{{ .Level }} id="{{ .Anchor }}" {{- with .Attributes.class }} class="heading {{ . }}" {{- else }} class="heading" {{- end }}>
  {{ .Text }}
  <a href="#{{ .Anchor }}" class="heading__anchor"><i class="bi bi-link"></i></a>
</h{{ .Level }}>