markdown-gitlab-toc
v0.0.13
Published
Generates TOC for each README.md file in a project
Downloads
31
Readme
[PROTOTYPE]
Description
$ bin/markdown-gitlab-toc.js --help
Usage: markdown-gitlab-toc [options] <paths ...>
Options:
-h, --help output usage information
-V, --version output the version number
-o, --output <path> Output to a file
-x, --exclude <path> Exclude matched paths
Usage
$ markdown-gitlab-toc -o ./TOC.md -x "node_modules|TOC.md|js/components" .
Output
# Table of Contents
* [README.md](README.md)
* src
* [consumers](src/consumers/README.md)
* [crons](src/crons/README.md)
* [api](src/api/README.md)