forked from mirrors/hugo-tufte
experimental heading anchor
This commit is contained in:
parent
3922e52f50
commit
233074c9bf
1 changed files with 4 additions and 0 deletions
4
layouts/_default/_markup/render-heading.html
Normal file
4
layouts/_default/_markup/render-heading.html
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
<h{{ .Level }} id="{{ .Anchor | safeURL }}">
|
||||||
|
{{ .Text | safeHTML }}
|
||||||
|
<a href="#{{ .Anchor | safeURL }}" class="heading-anchor">#</a>
|
||||||
|
</h{{ .Level }}>
|
Loading…
Reference in a new issue