Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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
  • Socket score

Version published
Maintainers
1
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc