kubernetes-handbook/gitbook-plugin-chapter-fold
rootsongjc cd11aa375a deploy: 1a5e3f08c0 2022-02-22 08:00:11 +00:00
..
book deploy: 1a5e3f08c0 2022-02-22 08:00:11 +00:00
.npmignore deploy: 1a5e3f08c0 2022-02-22 08:00:11 +00:00
README.md deploy: 1a5e3f08c0 2022-02-22 08:00:11 +00:00
index.js deploy: 1a5e3f08c0 2022-02-22 08:00:11 +00:00
package.json deploy: 1a5e3f08c0 2022-02-22 08:00:11 +00:00

README.md

#Chapter fold for GitBook

Extended from the expandable-chapters plugin, and make a little modify. Thx for the original author.
Tiny change to the expandable-chapters plugin from https://github.com/DomainDrivenArchitecture/ to use smaller arrows.

Anything Change?

Modify the feature of the chapter links, make the links could be clicked to fold or expand their content.
And add a new feature in order to keep the last chapter which the user browses at last time.

How to use it?

Add it to your book.json configuration:

{
    plugins: ["chapter-fold"]
}

Install your plugins using:

$ gitbook install

Configuration

There is no configuration needed at the moment, can be left empty.

{
	"pluginsConfig": {
		"chapter-fold":{}
	}
}