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

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

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

  • chapter-fold:同时只能展开一个目录。
  • expandable-chapters:展开后不会自动折叠。
  • expandable-chapters-small:展开后不会自动折叠,箭头相比 expandable-chapters 会细一些。

配置使用方法:

{
    plugins: ["chapter-fold"]
}

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

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

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

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

Copyright ©yuanwei all right reserved,powered by Gitbook更新时间: 2024-08-20 10:46:27

results matching ""

    No results matching ""