Skip to content

Commit ed93e2d

Browse files
authored
add Toggle-chapters
1 parent e2305ca commit ed93e2d

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

plugins.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
- [Sharing-plus - 分享当前页面](#sharing-plus)
2222
- [Tbfed-pagefooter - 为页面添加页脚](#tbfed-pagefooter)
2323
- [Expandable-chapters-small - 使左侧的章节目录可以折叠](#expandable-chapters-small)
24+
- [Expandable-chapters - 左侧章节目录可以折叠](#Expandable-chapters)
25+
- [Toggle-chapters - 左侧章节目录可以折叠](#Toggle-chapters)
2426
- [Sectionx - 将页面分块显示](#sectionx)
2527
- [GA - Google 统计](#ga)
2628
- [3-ba - 百度统计](#3-ba)
@@ -493,6 +495,24 @@ type 可以是 `c3` 或者 `highcharts`, 默认是 `c3`.
493495
plugins: ["expandable-chapters-small"]
494496
```
495497

498+
## Expandable-chapters
499+
使左侧的章节目录可以折叠
500+
501+
[插件地址](https://plugins.gitbook.com/plugin/expandable-chapters)
502+
503+
```json
504+
plugins: ["expandable-chapters"]
505+
```
506+
507+
## Toggle-chapters
508+
使左侧的章节目录可以折叠。相比expandable-chapters, 没有折叠箭头符号,并且当前只有一项可以展开。参考:https://blog.csdn.net/lintcgirl/article/details/54314113
509+
510+
[插件地址](https://plugins.gitbook.com/plugin/toggle-chapters)
511+
512+
```json
513+
plugins: ["toggle-chapters"]
514+
```
515+
496516
## Sectionx
497517
将页面分块显示,标签的 tag 最好是使用 b 标签,如果使用 h1-h6 可能会和其他插件冲突。
498518
[插件地址](https://plugins.gitbook.com/plugin/sectionx)

0 commit comments

Comments
 (0)