This commit is contained in:
qingwei.li 2016-12-30 18:09:13 +08:00
commit 41e7ef6863
2 changed files with 24 additions and 0 deletions

View file

@ -201,6 +201,18 @@ The contents of the file can be:
- [HTML5 History Mode](/history-mode)
```
#### max-sub-level
Display TOC in the custom sidebar. The default value is 0.
```html
<script src="/lib/docsify.js" data-load-sidebar data-max-sub-level="4"></script>
```
![image](https://cloud.githubusercontent.com/assets/7565692/21563209/a8894512-ceba-11e6-80eb-fef00b80625c.png)
#### load-navbar
Load navbar markdown file. If it is configured, load the current directory `_navbar.md` by default.