Skip to content

vihanb/gitbook-plugin-collapsible-chapters

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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?

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 80.2%
  • CSS 19.8%