Summary Files Commits Branches @commit @diff @stats
path: root / generate-hooks
diff options
context:
space:
mode:
1 files changed, 1 insertions, 1 deletions
-rw-r--r--generate-hooks/create-header-anchors.awk2
diff --git a/generate-hooks/create-header-anchors.awk b/generate-hooks/create-header-anchors.awk
index a07c736..f6d2815 100644
--- a/generate-hooks/create-header-anchors.awk
+++ b/generate-hooks/create-header-anchors.awk
@@ -8,7 +8,7 @@
/[ \t]*<h[23456]/ {
id = substr($0, index($0, "id=\"") + 4)
id = substr(id, 0, index(id, "\"") - 1)
- gsub(/$/, ORS "<a href=\"#" id "\"><img src=\"/img/link-tabler.svg\" alt=\"🔗\" loading=\"lazy\"></a>")
+ gsub(/$/, ORS "<a class=\"h-anchor\" href=\"#" id "\"><img src=\"/img/link-tabler.svg\" alt=\"🔗\" loading=\"lazy\"></a>")
}
{