markdown-gitlab-toc
Generates TOC for each README.md file in a project
Last updated 3 years ago by rainder .
ISC · Repository · Bugs · Original npm · Tarball
$ cnpm install markdown-gitlab-toc 
SYNC missed versions from official npm registry.

[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)
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (6)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |