Highlights source code examples in a Bespoke.js presentations using Highlight.js
Download the production version or the development version, or use a package manager.
This plugin is shipped in a UMD format, meaning that it is available as a CommonJS/AMD module or browser global.
For example, when using CommonJS modules:
var bespoke = require('bespoke'),
highlightjs = require('bespoke-highlightjs');
bespoke.from('#presentation', [
highlightjs()
]);
When using browser globals:
bespoke.from('#presentation', [
bespoke.plugins.highlightjs()
]);
$ npm install bespoke-highlightjs
$ bower install bespoke-highlightjs
This plugin was built with generator-bespokeplugin.