New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rehype-toc

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rehype-toc

A rehype plugin that adds a table of contents (TOC) to the page

1.0.0-alpha.1
Source
npm
Version published
Weekly downloads
6.5K
-7.69%
Maintainers
1
Weekly downloads
 
Created
Source

Table of Contents plugin for rehype

A rehype plugin that adds a table of contents (TOC) to the page

Cross-Platform Compatibility Build Status

Coverage Status Dependencies

npm License

Example

import toc from "rehype-toc";

// TODO: Add a usage example here

Installation

You can install rehype-toc via npm.

npm install rehype-toc

Usage

TODO: Document the library's API and CLI usage

Contributing

Contributions, enhancements, and bug-fixes are welcome! File an issue on GitHub and submit a pull request.

Building

To build the project locally on your computer:

  • Clone this repo
    git clone https://github.com/JS-DevTools/rehype-toc.git

  • Install dependencies
    npm install

  • Build the code
    npm run build

  • Run the tests
    npm test

License

rehype-toc is 100% free and open-source, under the MIT license. Use it however you want.

Big Thanks To

Thanks to these awesome companies for their support of Open Source developers ❤

Travis CI SauceLabs Coveralls

Keywords

unified

FAQs

Package last updated on 23 Jun 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