Skip to content

aleen42/gitbook-injection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

injection

Pay GitHub issues GitHub license Gitter

npm Build Status devDependency Status npm

a gitbook-plugin for inject script into your books.

Installation

add the following plugins to your book.json and run gitbook install

{
    "plugins": ["injection"]
}

Usage

just find plugin on gitbook and install it on your gitbook project.

configuration option can be set as an obj like:

{
	"plugins": [
		"injection"
	],
	"pluginsConfig": {
		"injection": {
			"js": [
                "./index.js",
                "./content.js"
            ],
            "css": [
                "./../style.css",
                "normal.css"
            ]
		}
	}
}

Tests

npm test

Release History

  • ==================== 1.0.0 Initial release ====================
    • 1.0.1 fix bugs of Gitbook engine 3.0.3

⛽ How to contribute

Have an idea? Found a bug? See how to contribute.

📜 License

MIT © aleen42

About

❗ a plugin used for content injection in Gitbook

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published