-
Notifications
You must be signed in to change notification settings - Fork 12
Utils
Chidi Okwudire edited this page Sep 21, 2015
·
3 revisions
This page contains handy tools, utilities, tips and tricks, etc.
At the time of writing Github does not directly support TOC generation. An easy way to generate/update TOCs in wiki pages is to use doctoc.
Steps
- Install npm (see section 'installing npm' on this page)
- Follow the instructions on doctoc wiki to install doctoc
- Update the TOC on all .md files, e.g. by running
doctoc /path/to/file/or/root/directory --notitle. The--notitleflag is optional and removes unnecessary TOC header and link to doctoc.