This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A python script to generate a table of contents (with links) for a GitHub Flavored markdown file. | |
The file must contain a level one header with a title that contains "Table of Contents". | |
The script will generate a TOC containing all level 1, 2, and 3 headers. | |
Run the script like this: | |
python tocgen.py inFileName outFileName | |
BEFORE file: | |
-------------------------------------------------------- | |
This is my GitHub wiki page. |