0.1.0 • Published 6 years ago
bespoke-highlightjs v0.1.0
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.
License
0.1.0
6 years ago