Adding a quick-and-dirty script to output markdown table of contents for a file