1.0.1 • Published 9 years ago
gitbook-plugin-prismx v1.0.1
Updated Gitbook Plugin for Prism
Created a new plugin since the original author was slow to merge.
Usage
Add the plugin to your book.json
, and disable default GitBook code highlighting:
{
"plugins": ["prismx", "-highlight"]
}
Options
Override default styles. All css files must reside in the same folder.
"pluginsConfig": {
"prismx": {
"css": [
"prismjs/themes/prism-solarizedlight.css"
]
}
}
Credits
Originally based on https://github.com/robmcguinness/gitbook-plugin-prism
License
Apache 2