Build a markdown table of contents for all the markdown files in a given directory tree.
This node module is a command line tool that traverses a given directory for all markdown files (with extension .md
) and compiles all of their tables of contents into one giant markdown string. All the tables of contentses!
Install markdown-index globally so it's available on your path.
npm install -g markdown-index
Give markdown-index a directory to traverse, and it outputs the indexed content to stdout
.
markdown-index directory/fulla/markdowns > index.md
MIT