add permalinks to article headings #84
Labels
No labels
accessibility
bug
dependencies
documentation
duplicate
feature
javascript
progressive enhancement
question
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
zoe/moiety.me#84
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
are there any good alternatives to markdown-it-anchor? because that doesn’t seem to work how I’d like it to.
there’s Id Attribute which you can pair with heading-anchors. that uses Web Components which i don’t want to do just yet; especially not for something that should be easy to do on compile.
i think this’ll require a custom renderer.
did some more reading, decided to stick wtih markdown-it-anchor for now. i would like to dive into this further at some point.
important note: most solutions seem to ignore § 2.5.8 Target Size. technically inline links are exempt (mine are inline). but it was easy enough to set the minimum size to 24px and position them correctly.
further resources:
A few notes:
permalink-headingcomponentsectionshortcode