Skip to content

Gurenax/markdown-toc-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Markdown Table of Contents Generator

Ever get tired of manually typing table of contents and putting anchor links one by one? Here is a small project that will help you automate that tedious task.

Table of Contents

Install

yarn global add markdown-toc-generator

or

npm install -g markdown-toc-generator

Parameters

  • File name (--file=)
  • Heading level (--headingLevel=)

Examples

While at your markdown file's directory, run the following commands:

markdown-toc-generator --file=Example.md
markdown-toc-generator --file=Example.md --headingLevel=6

Contributing

Raising an issue or creating pull requests would be a good way to contribute.

Thanks to those who already contributed!

About

A table of contents generator for your README.md

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published