This file contains hidden or 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
# -*- coding: utf-8 -*- | |
""" | |
Generate a file tree table of contents for a directory of markdown files | |
run from command line: | |
$ python md_file_tree.py | |
will generate a markdown index of all markdown files in the current working | |
directory and its sub folders and insert it into a file `index.md`. |