gitbook-plugin-collapsible-chapters

0.1.8 • Public • Published

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?

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.8
    308
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.8
    308
  • 0.1.7
    0

Package Sidebar

Install

npm i gitbook-plugin-collapsible-chapters

Weekly Downloads

235

Version

0.1.8

License

Apache 2

Last publish

Collaborators

  • vihanb