/bespoke-highlightjs

Highlights source code examples in a Bespoke.js presentation using HighightJS.

Primary LanguageJavaScriptMIT LicenseMIT

Build Status Coverage Status

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

MIT License