Merge pull request #129 from Mitrichius/anchor-headings/#123
Add anchor headings
This commit is contained in:
commit
31bb3493eb
2 changed files with 54 additions and 1 deletions
3
layouts/_default/_markup/render-heading.html
Normal file
3
layouts/_default/_markup/render-heading.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
<h{{ .Level }} id="{{ .Anchor | safeURL }}">{{ .Text | safeHTML }}
|
||||
<span><a href="#{{ .Anchor }}">#</a></span>
|
||||
</h{{ .Level }}>
|
Loading…
Add table
Add a link
Reference in a new issue