changed anchor to icon #123
This commit is contained in:
parent
6372a927bc
commit
990799a86a
5 changed files with 63 additions and 22 deletions
|
@ -1,3 +1,7 @@
|
|||
<h{{ .Level }} id="{{ .Anchor | safeURL }}">{{ .Text | safeHTML }}
|
||||
<span><a href="#{{ .Anchor }}">#</a></span>
|
||||
<span>
|
||||
<a href="#{{ .Anchor }}">
|
||||
<svg viewBox="0 0 28 23" height="100%" width="19 " xmlns="http://www.w3.org/2000/svg"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71" fill="none" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71" fill="none" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2"/></svg>
|
||||
</a>
|
||||
</span>
|
||||
</h{{ .Level }}>
|
Loading…
Add table
Add a link
Reference in a new issue