0.2.1 • Published 8 years ago

gitbook-plugin-customtheme v0.2.1

Weekly downloads
4
License
ISC
Repository
github
Last release
8 years ago

gitbook-plugin-customtheme

Custom theme plugin enables to inject css and js into the html body of the gitbook. Thus custom Styling or behaviour to the gitbook can be integrated by passing the styles along with configurations.

Usage Example

  1. Install the plugin Install the plugin from NPM registry, by executing the command 'npm install --save gitbook-plugin-customtheme'

  2. Add the Plugin "plugins": "customtheme"

  3. Configuring the plugin

        "pluginsConfig": {
           "customtheme": {
             "css": ['custom/css/app.css'], // custom is a folder on the root level
             "js": ['custom/js/app.js']
           }
        }

    Added Support to additional configuration options,

  4. Add rule to ignore Language Selection page for including resources, "pluginsConfig": { "customtheme": { "css": 'custom/css/app.css', // custom is a folder on the root level "js": 'custom/js/app.js', "options": { "ignoreChooseLang": true } } }

    Pass the list of files to be added on to the body of the gitbook in the configuration section.

0.2.1

8 years ago

0.2.0

9 years ago

0.1.9

9 years ago

0.1.8

9 years ago

0.1.7

9 years ago

0.1.6

9 years ago

0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago