Headings are missing anchors / ids
See original GitHub issue# h1
parse =>
<h1>h1</h1>
not
<h1 id="h1">h1</h1>
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (1 by maintainers)
Top Results From Across the Web
On Adding IDs to Headings - CSS-Tricks
It's technique is that it adds the ID on the anchor link itself, which is also totally fine. I guess that's another way...
Read more >Headers don't have IDs? - Talkyard
Hi. It doesn't look like the markdown headers like the below have default IDs assigned to them, meaning I cannot create a contents...
Read more >Punctuation is included in Markdown Heading Anchors ...
It refer to the doc point : Anchor IDs are assigned to all headings when rendered as HTML. The ID is the heading...
Read more >Anchors not working with Sticker header - WordPress.org
I just set up an HTML Anchor on my page with a link. I also have set on the Customize / Twentig Options...
Read more >Maintaining the heading anchor IDs across languages - HUGO
The format of auto-generated anchor IDs for headings with Unicode characters varies across static generators or their internal options/libraries ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
Top Related Hashnode Post
No results found
This should be a core feature. I shouldn’t have to go out of my way to implement something that is a core markdown feature.
It’s hard to know how to address these headers, so I’ve decided to leave it out of the core. You can achieve the same functionality by using a
Header
renderer:JSbin example here