markdown-toc-generator

1.0.9 • Public • Published

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!

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.90latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.90
1.0.80
1.0.70
1.0.60
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i markdown-toc-generator

Weekly Downloads

0

Version

1.0.9

License

MIT

Unpacked Size

12.4 kB

Total Files

15

Last publish

Collaborators

  • gurenax