You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
590 B
36 lines
590 B
6 years ago
|
#Expandable chapters for GitBook
|
||
|
==============
|
||
|
|
||
|
This plugin adds an icon to each chapter, that has a child and css states for the child list to collapse/expand ones.
|
||
|
|
||
|
### How to use it?
|
||
|
|
||
|
Add it to your `book.json` configuration:
|
||
|
|
||
|
```
|
||
|
{
|
||
|
plugins: ["expandable-chapters"]
|
||
|
}
|
||
|
```
|
||
|
|
||
|
Install your plugins using:
|
||
|
|
||
|
```
|
||
|
$ gitbook install
|
||
|
```
|
||
|
|
||
|
### Configuration
|
||
|
|
||
|
There is no configuration needed at the moment, can be left empty.
|
||
|
|
||
|
```
|
||
|
{
|
||
|
"pluginsConfig": {
|
||
|
"expandable-chapters":{}
|
||
|
}
|
||
|
}
|
||
|
```
|
||
|
|
||
|
### See also
|
||
|
Maybe you will find https://github.com/poojan/gitbook-plugin-toggle-chapters also useful?
|