GeistHaus
log in · sign up

Suggestion: adding an option to render a more accessible anchor link · Issue #82 · valeriangalliat/markdown-it-anchor

github.com

I've read this great post about accessible anchor links, and I've managed to write a renderPermalink function for markdown-it-anchor that generates the accessible HTML: https://nicolas-hoizey.com/a...

2 pages link to this URL
Accessible anchor links with Markdown-it and Eleventy

I like to be able to link directly to a section in a long content. I wish every site provided anchor links associated to headings, even if Text Fragments might be a cross browser thing sometimes in the future. Here's how I made the anchor links of my Eleventy based site accessible.

2 inbound links article en