1.0.1 • Published 8 years ago

bespoke-prism v1.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

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.

License

MIT License

1.0.1

8 years ago

0.0.2-pre

8 years ago

0.0.1-pre

8 years ago

1.0.0

8 years ago

1.0.1-pre

8 years ago