This is a simple script that helps you create ToC in markdown markup files such as README.md or GitHub Wiki.
- Download and install Tampermonkey plugin for your browser.
- Click this link and confirm installation of the Tampermonkey script to your browser.
See more details about script adding in Guide how to add a script.
- Open the Wiki editor on GitHub.
- Open the Tampermonkey toolbar and click
Build ToC for Wiki contentmenu item. ToC will be genrated and placed to the clipboard. That will be confirmed by the corresponding notification. - In case of any error the corresponding error message will be displayed.
- Open the file editor on GitHub.
- Select the content, from which you want to create ToC.
- Open the Tampermonkey toolbar and click
Build ToC for selected Markdown Markupmenu item. ToC will be genrated and placed to the clipboard. That will be confirmed by the corresponding notification. - In case of any error the corresponding error message will be displayed.