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