Quickly create Table-of-Content Markdown for GitHub Markdown files. (Source code)
I could never find a do-it-all, easy to use, online Table-of-Content maker for GitHub (and other) Markdown files. There were many solutions that required downloading or installing something on my computer. For such a trivial task I felt that was unnecessary.
Indeed. This began as a fork and has meanwhile evolved to a full-fledged solution:
Try the testing.md example: No other online ToC-Generator I could find handled this correctly!
None of your data is transferred to the Internet. All work happens in your browser, using JavaScript. Use Markdown ATX headings (###), and <!-- ToC begin -->/<!-- ToC end --> or [TOC] on separate lines to insert a ToC.
| Markdown input | Table of Content output |
|---|---|