[Feature] Table of Contents Markdown Support #1298
Replies: 4 comments
-
Something like GitHub and npmjs does, yeah, I think is handy. Do you know what library they use for it? |
Beta Was this translation helpful? Give feedback.
-
It might be this one https://github.com/github/markup |
Beta Was this translation helpful? Give feedback.
-
Oh that is just the library to determine what library to use. Looks like they use https://github.com/gjtorikian/commonmarker for markdown files. It's a ruby library so it might not be the best for integration with verdaccio |
Beta Was this translation helpful? Give feedback.
-
I use mod-markdown as an Apache mod which I think uses Discount markdown engine, which is in C, which in turn is a port of a python markdown lib, I cant recall then name. But yes, this feature would be great! |
Beta Was this translation helpful? Give feedback.
-
The idea is to support relative link via fragments like on some npmjs repos - this would improve usability of the README page but really it's just a "nice-to-have".
Clicking on "Example2" would auto scroll to the "Example2" section of the page.
Beta Was this translation helpful? Give feedback.
All reactions