mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-06-30 01:06:00 -04:00
add anchor links to content sub-headings
forked anchor-js: https://github.com/jakejarvis/simple-anchor
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import SimpleAnchor from "simple-anchor";
|
||||
|
||||
const anchors = new SimpleAnchor({
|
||||
icon: "",
|
||||
});
|
||||
|
||||
anchors.add("article #content h2, article #content h3, article #content h4");
|
||||
Reference in New Issue
Block a user