idyll-plugin-table-of-contents

1.0.2 • Public • Published

Table of Contents plugin

Installation

$ npm install --save-dev idyll-plugin-table-of-contents

Add it to your idyll configuration in package.json:

"idyll": {
  "compiler": {
    "postProcessors": ["idyll-plugin-table-of-contents"]
  }
}

Usage

To use the plugin place [TableOfContents /] where you want the table of contents to appear in your document.

This plugin uses section headers to determine section heirarchy on your page.

Dependencies (4)

Dev Dependencies (5)

Package Sidebar

Install

npm i idyll-plugin-table-of-contents

Weekly Downloads

1

Version

1.0.2

License

ISC

Unpacked Size

2 MB

Total Files

12

Last publish

Collaborators

  • rubikz