Generate a table of contents for markdown files such as a README, inside local git repository. Links are compatible with anchors generated by GitHub.