Gitbook 插件安装 - 导航目录折叠 chapter-fold

2019-06-02 13:23:21 浏览数 (1)

chapter-fold

支持多层目录,点击导航栏的标题名就可以实现折叠扩展。

How to use it?

Add it to your book.json configuration:

代码语言:javascript复制
{
    plugins: ["chapter-fold"]
}

Install your plugins using:

代码语言:javascript复制
$ gitbook install

Configuration

There is no configuration needed at the moment, can be left empty.

代码语言:javascript复制
{
    "pluginsConfig": {
        "chapter-fold":{}
    }
}

设置chapter-fold插件以及安装

启动GitBook预览效果

0 人点赞