DEV Community

Discussion on: [Survey] Automatic Table of Contents in Dev.to Articles

Collapse
 
niklasrefnov profile image
Niklas

But how would you link to the anchors in the table of contents? I can't seem to find a way to assign my headers an id

Collapse
 
jacktt profile image
Jack

Like GitHub, each heading has its ID that is normalized to a URI.
You can see this article: dev.to/jacktt/go-build-in-advance-...