mirror of
https://github.com/kata0510/Lily58.git
synced 2025-04-29 02:02:59 +00:00
39 lines
701 B
Markdown
39 lines
701 B
Markdown
#Collapsable chapters for GitBook
|
|
==============
|
|
|
|
This is a fork of `gitbook-plugin-expandable-chapters`. This provides smaller, less in-the-face icons
|
|
|
|
---
|
|
|
|
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: ["collapsible-chapters"]
|
|
}
|
|
```
|
|
|
|
Install your plugins using:
|
|
|
|
```
|
|
$ gitbook install
|
|
```
|
|
|
|
### Configuration
|
|
|
|
There is no configuration needed at the moment, can be left empty.
|
|
|
|
```
|
|
{
|
|
"pluginsConfig": {
|
|
"collapsible-chapters":{}
|
|
}
|
|
}
|
|
```
|
|
|
|
### See also
|
|
Maybe you will find https://github.com/poojan/gitbook-plugin-toggle-chapters also useful?
|