You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 037be80
Browse filesBrowse the repository at this point in the historyBrowse files
The `{.class}` attribute authors add (e.g. .wp-block-heading) is
7
+
preserved. Styling lives in static/css/heading-anchors.css. */ -}}
8
+
{{- $id := .Anchor -}}
9
+
{{- $class := "ps-heading" -}}
10
+
{{- with .Attributes.class }}{{ $class = printf "%s %s" $class . }}{{ end -}}
11
+
<h{{.Level}}id="{{ $id }}" class="{{ $class }}">
12
+
{{- .Text | safeHTML -}}
13
+
<aclass="ps-heading-anchor" href="#{{ $id }}" aria-label="Link to this section" title="Link to this section"><iclass="fas fa-link" aria-hidden="true"></i></a>
0 commit comments