Input:
Desired TOC:
ul
li
a href='#h1' id='toc-h1'
ul
li
a href='#h2' id='toc-h2'
The new feature would be adding the id on the anchors.
Application: I want to add a link next to each header back to it's TOC entry.
Users can of course hit the Home key to go back up. But you often want to go back to the current header to see what is going on around it, and when you have many headers it is difficult to find it.
This would be uber awesome together with: #188 , and maybe a way to automatically generate the links up.
Input:
-a {:toc} # h1 ## h2Desired TOC:
The new feature would be adding the
idon the anchors.Application: I want to add a link next to each header back to it's TOC entry.
Users can of course hit the
Homekey to go back up. But you often want to go back to the current header to see what is going on around it, and when you have many headers it is difficult to find it.This would be uber awesome together with: #188 , and maybe a way to automatically generate the links up.