atoc

README

gitbook-plugin-atoc

npm npm npm

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

LICENSE

MIT

Alipay Donation(通过支付宝捐赠):

qr

Plugin

Add table of content for GitBook

https://github.com/willin/gitbook-plugin-atoc


Latest: 1.0.3

0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.1.0, 0.1.1, 0.1.2, 0.2.0, 0.2.1, 0.2.2, 1.0.0, 1.0.1, 1.0.2, 1.0.3,

Requirements

GitBook
1.0.3 *

Maintainers

Open on NPM