Simple table of contents (TOC) generator from a given Markdown page source.