Skip to content

Auto create a fixed table of content on any site using Greasemonkey or Tampermonkey

Notifications You must be signed in to change notification settings

letientai299/userscript-auto-toc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Auto Table of Content

I believe that every article on web should have a table of content.

This userscript is not production-ready yet. There's many improvement points. See TODO list.

Demo

TOC on Github

TOC on Github

More:

How to use

Install

Usage

  • Open a Github, Wikipedia or Medium article, the TOC should be opened automatically after page is loaded. For example, try with this page:

  • TOC can be toggle using the shortcut key Alt+q.

Show TOC on Firefox Markdown Previewer


This feature only works properly on Firefox with Markdown Previewer as of now. See demo

  • Open about:config.
  • Look for greasemonkey.fileIsGreaseable, set to true.
  • Restart Firefox.
  • Try with any local Markdown file.

License

MIT

About

Auto create a fixed table of content on any site using Greasemonkey or Tampermonkey

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published