Simple table of contents generator for GitHub flavored markdown files.
Clone the repository
git clone https://github.com/doomnuggets/mdtoc.gitMove your horses
cd mdtocCompile from source
If you'd like to call mdtoc from anywhere on your system use:
make installOr, if you only want to test it out for now:
makeYou can either pass the file to read from like so:
mdtoc file.mdOr you can pipe to mdtoc:
cat ~/file.md | mdtocdoom@nuggets:~/code/c/mdtoc: ./mdtoc README.md
+ [mdtoc](#mdtoc)
+ [Installation](#installation)
+ [Generating a table of contents](#generating-a-table-of-contents)
+ [Example](#example)