Generate a markdown table of contents from markdown files
Generate a markdown TOC (table of contents) with Remarkable
markdown-toc
$ markdown-toc README.md
$ markdown-toc README.md > toc.md
$ markdown-toc --maxdepth 3 README.md