Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (18 sloc) 440 Bytes

Download gfm-toc utility

$ curl -O

Make the downloaded gfm-toc file executable

$ chmod +x gfm-toc

Update your markdown with a %TOC% where you want the table of contents to be generated, then

$ ./gfm-toc

Show gfm-toc help

$ ./gfm-toc -h


The of gfm-toc