🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

markdown-toc-generator

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

markdown-toc-generator

A simple markdown table of contents generator

1.0.9
latest
Source
npm
Version published
Weekly downloads
44
450%
Maintainers
1
Weekly downloads
 
Created
Source

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
  • Parameters
  • Examples
  • Contributing

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!

FAQs

Package last updated on 15 Nov 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts