bespoke-highlightjs
v0.1.0
Published
Highlights source code examples in a Bespoke.js presentation using Highlight.js
Downloads
4
Readme
bespoke-highlightjs
Highlights source code examples in a Bespoke.js presentations using Highlight.js
Download
Download the production version or the development version, or use a package manager.
Usage
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()
]);
Package managers
npm
$ npm install bespoke-highlightjs
Bower
$ bower install bespoke-highlightjs
Credits
This plugin was built with generator-bespokeplugin.