bespoke-prism
v1.0.1
Published
Highlights source code examples in a Bespoke.js presentation using Prism.
Downloads
10
Readme
bespoke-prism
Highlights source code examples in a Bespoke.js presentation using Prism.
Usage
This plugin is shipped in a UMD format, meaning it is available as a CommonJS/AMD module or as a browser global.
For example, when using CommonJS modules:
var bespoke = require('bespoke'),
prism = require('bespoke-prism');
bespoke.from('.deck', [
prism()
]);
When using browser globals:
bespoke.from('.deck', [
bespoke.plugins.prism()
]);
For more information about options and how the plugin works, see the complete README.