feat: display header anchor on hover (#999)

This commit is contained in:
Jimmy Cai
2024-03-30 23:22:18 +01:00
committed by GitHub
parent ce798a32a9
commit 130e2f6607
2 changed files with 19 additions and 1 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
<h{{ .Level }} id="{{ .Anchor }}">
<a href="#{{ .Anchor }}">#</a>
<a href="#{{ .Anchor }}" class="header-anchor">#</a>
{{ .Text | safeHTML }}
</h{{ .Level }}>