gitbook plugin [updated pkgs] https://github.com/windhamdavid/gitbook-plugin-prism-dw
Samy Pessé 9a073d41ce Add doc in readme to disable highlight | 9 years ago | |
---|---|---|
.gitignore | 9 years ago | |
LICENSE | 10 years ago | |
README.md | 9 years ago | |
index.js | 9 years ago | |
package.json | 9 years ago |
Currently only supports JavaScript. Pull requests to fix this are welcome.
Before |
After |
Add the plugin to your book.json
, and disable default GitBook code highlighting:
{
"plugins": ["prism", "-highlight"]
}
Originally based on https://github.com/spricity/google_code_prettify.
Apache 2