Add max level option

This commit is contained in:
qingwei.li 2016-11-27 13:09:18 +08:00
commit eba21726d7
11 changed files with 201 additions and 17 deletions

View file

@ -91,8 +91,26 @@ Code in `404.html`
</nav>
```
### GitHub Corner
Modify your `404.html`
### Options
#### repo
Display the [GitHub Corner](http://tholman.com/github-corners/) widget.
```html
<script src="//unpkg.com/docsify" data-repo="your/repo"></script>
```
#### max-level
Toc level.
```html
<script src="//unpkg.com/docsify" data-max-level="6"></script>
```
#### el
Root element.
```html
<script src="//unpkg.com/docsify" data-el="#app"></script>
```