File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ div.tip {
153153
154154.heading-link {
155155 position : relative ;
156- display : inline- flex ;
156+ display : flex ;
157157 align-items : center ;
158158 gap : 0.3rem ;
159159
Original file line number Diff line number Diff line change 22{{- $text := .Text | safeHTML -}}
33{{- $anchor := .Anchor | safeURL -}}
44
5- < h {{ $level }} id ="{{ $anchor }} " class ="heading-link ">
6- {{ $text }}
7- < a class ="heading-anchor " href ="#{{ $anchor }} " aria-label ="Anchor link to this section ">
8- 🔗
9- </ a >
5+ {{ $level := .Level }}
6+ < h {{ $level }} id ="{{ .Anchor | safeURL }} " class ="heading-link ">
7+ {{ .Text }}
8+ < a href ="#{{ .Anchor | safeURL }} " class ="heading-anchor " aria-label ="Permalink to this heading "> 🔗</ a >
109</ h {{ $level }}>
You can’t perform that action at this time.
0 commit comments