0.0.1 • Published 9 years ago
gitbook-plugin-prism-ASH v0.0.1
gitbook-plugins-prism-ASH
Gitbook plugin for atelierbram/syntax-highlighting (ab. ASH) base on gitbook-plugin-prism.
It provides additional themes when using gitbook-plugin-prism。
To view atelierbram/syntax-highlighting prism demo, click here.
Usage
Add the plugin to your
book.json, and disable default GitBook code highlighting:{ "plugins": ["-highlight", "prism", "prism-ASH"] }Install the plugins
gitbook installUpdate
gitbook-plugin-prism's configuration, override default styles:"pluginsConfig": { "prism": { "css": [ "syntax-highlighting/assets/css/prism/prism-base16-google.light.css" ] } }All css files must reside in the same folder. The css file's root path is
${yourBookDir}/node_modules/. The NPM modulesyntax-highlightingis an dependency of this plugin.
License
Apache 2
0.0.1
9 years ago