Markdown Table of Contents and Other Conversions

Generating a Table of Contents from headers in Markdown? Automating the files you need in various formats? Script it!