Thiht / markdown-viewer

Firefox add-on to view markdown files
https://addons.mozilla.org/fr/firefox/addon/markdown-viewer/
MIT License
144 stars 36 forks source link

Add floating Table of content #71

Open letientai299 opened 8 years ago

letientai299 commented 8 years ago

Please see this as an Enhancement request. It's would be very useful when reading a long markdown text.

Thiht commented 8 years ago

It would be a nice improvement, I agree. Reading your issue, something like this came to my mind: http://afeld.github.io/bootstrap-toc/, it's the same kind of toc as used on Bootstrap's doc. I like it because it's lightweight and it would occupy the unused space

letientai299 commented 7 years ago

Hi,

I find the need of Table of Content on many sites. So I make one myself. Not production ready yet, but usable. The script is simple for tweaking also.

Here's a demo in conjunction with markdown-viewer:

Demo with markdown-viewer

I leave this issue open to wait for an built-in feature, so that other people don't need to install a userscript engine in order to user my script.