gitbook-plugin-add-js-css

0.0.1 • Public • Published

Gitbook Plugin for custom-js-css

Usage

Add the plugin to your book.json:

{
  "plugins": ["add-js-css"]
}

Options

put your js file and css file in the current book folder,for example in my book folder,the my.js and my.css in my folder is my custom js and css.and below is the option:

"pluginsConfig"{
  "add-js-css": {
    "js": [
      "./my/my.js"
    ],
    "css": [
      "./my/my.css"
    ]
  }
}

License

Apache 2

Package Sidebar

Install

npm i gitbook-plugin-add-js-css

Weekly Downloads

5

Version

0.0.1

License

Apache-2.0

Unpacked Size

15.4 kB

Total Files

4

Last publish

Collaborators

  • thomas88100