Skip to content

idyll-lang/idyll-plugin-table-of-contents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published