gitbook plugin [updated pkgs] https://github.com/windhamdavid/gitbook-plugin-prism-dw

Samy Pessé 0d0818ea6c Define block "code" for highlighting 9 years ago
.gitignore 0b4401402a Initial commit after fork 9 years ago
LICENSE 828f3df964 Initial commit 10 years ago
README.md e61dfd1b7f Update README.md 9 years ago
index.js 0d0818ea6c Define block "code" for highlighting 9 years ago
package.json e76c38001a Fix link in package.json 9 years ago

README.md

Gitbook Plugin for Prism

Currently only supports JavaScript.
Pull requests to fix this are welcome.

Before

After

Usage

Add the plugin to your book.json:

{
  "plugins": ["prism"]
}

Credits

Originally based on https://github.com/spricity/google_code_prettify.

License

Apache 2