gitbook plugin [updated pkgs] https://github.com/windhamdavid/gitbook-plugin-prism-dw
Dan Abramov 9ee1fdee3c 1.0.0 | 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 |
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