Github Readme Table Of Contents Generation
I don’t like manually creating a table of contents on Github so this is how I figured out how to generate it.
1. Install npm
If on linux:
You may have to run the below command if you installed via a package manager:
2. Install doctoc
You may have to use
sudo to install.
3. Run doctoc
Re-run this command to re-generate the TOC. :)