File tree 2 files changed +24
-0
lines changed
2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -201,6 +201,18 @@ The contents of the file can be:
201
201
- [HTML5 History Mode](/history-mode)
202
202
```
203
203
204
+ #### max-sub-level
205
+
206
+ Display TOC in the custom sidebar. The default value is 0.
207
+
208
+
209
+ ``` html
210
+ <script src =" /lib/docsify.js" data-load-sidebar data-max-sub-level =" 4" ></script >
211
+ ```
212
+
213
+ ![ image] ( https://cloud.githubusercontent.com/assets/7565692/21563209/a8894512-ceba-11e6-80eb-fef00b80625c.png )
214
+
215
+
204
216
#### load-navbar
205
217
206
218
Load navbar markdown file. If it is configured, load the current directory ` _navbar.md ` by default.
Original file line number Diff line number Diff line change @@ -206,6 +206,18 @@ Sidebar 开关按钮
206
206
- [HTML5 History Mode](/history-mode)
207
207
```
208
208
209
+ #### max-sub-level
210
+
211
+ 显示 TOC 在自定义的侧边栏里,默认最大显示 0 层。
212
+
213
+
214
+ ``` html
215
+ <script src =" /lib/docsify.js" data-load-sidebar data-max-sub-level =" 4" ></script >
216
+ ```
217
+
218
+ ![ image] ( https://cloud.githubusercontent.com/assets/7565692/21563209/a8894512-ceba-11e6-80eb-fef00b80625c.png )
219
+
220
+
209
221
#### load-navbar
210
222
211
223
读取导航配置文件,如果配置,默认加载当前目录下的 ` _navbar.md ` 。如果文件不存在,会显示 html 里定义的导航栏。
You can’t perform that action at this time.
0 commit comments