Skip to content

MayasHaddad/markdown-toc-folders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

markdown-toc-folders

markdown-toc recursively usable on a folder.

Install

npm i -g markdown-toc-folders

CLI

Usage: toc [options]

Options:
      --version      Show version number                                       [boolean]
  -i, --ignore       files and directories to ignore                             [array]
  -o, --output-file  path to the file to which output the Table of Content      [string]
  -h, --help         Show help                                                 [boolean]

Examples:
  toc . -i foo.md dist/ -o README.md  builds a Table of Content recursively for all
                                      files in current directory excluding foo.md and 
                                      dist/* and writes the result to README.md