gitbook-plugin-blog-r24y

0.0.0 • Public • Published

gitbook-plugin-atoc

This plugin will add table of content to the page and provide navigation function inside a page.

Add <!-- toc --> to the markdown files. When you build the book, it will insert a table of content where you insert <!-- toc -->

book.json Config:

{
    "plugins": ["atoc"],
    "pluginsConfig": {
        "atoc": {
            "addClass": true,
            "className": "atoc"
        }
    }
}

You can add this config to add a HTML ClassName to the TOC ul element

Readme

Keywords

Package Sidebar

Install

npm i gitbook-plugin-blog-r24y

Weekly Downloads

6

Version

0.0.0

License

BSD-3-Clause

Last publish

Collaborators

  • r24y