Skip to content

Latest commit

 

History

History
52 lines (24 loc) · 771 Bytes

24-expandable-chapters-small.md

File metadata and controls

52 lines (24 loc) · 771 Bytes

expandable-chapters-small 折叠侧边栏菜单

在左侧目录前面显示一个折叠的标志,可以进行折叠侧边栏

实现这个功能的目前常见的有3个插件:

  • chapter-fold:指示小图标
  • expandable-chapters: 指示大图标
  • expandable-chapters-small:指示小图标

配置使用方法:

{
    plugins: ["chapter-fold"]
}

或者
{
    plugins: ["expandable-chapters"]
}

或者
{
    plugins: ["expandable-chapters-small"]
}

插件 Github 地址:https://github.com/chrisjake/gitbook-plugin-expandable-chapters-small

效果预览:参考本书的左边菜单折叠效果