<h{{ .Level }} id="{{ .Anchor | safeURL }}">{{ .Text | safeHTML }}
  {{- if in (slice 2 3 4 6) .Level }}{{" " -}}
  <a class="anchor" name="{{ .Anchor }}"></a>
  <a class="inline-flex items-center" href="#{{ .Anchor | safeURL }}" aria-label="Anchor">
    <svg class="fill-primary hover:fill-primary/70 w-4 h-4">
      <use href="#icon--anchor"></use>
    </svg>
  </a>
{{- end -}}
</h{{ .Level }}>
