Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bespoke-prism

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bespoke-prism

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

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

= bespoke-prism Hubert Sablonnière https://github.com/hsablonniere v1.0.0, 2016-07-12 // Settings: :idprefix: :idseparator: - //ifdef::env-github[:badges:] // Variables: :release-version: 1.0.1 // URIs: :uri-raw-file-base: https://raw.githubusercontent.com/opendevise/bespoke-prism/{release-version}

ifdef::badges[] image:https://img.shields.io/npm/v/bespoke-prism.svg[npm package, link=https://www.npmjs.com/package/bespoke-prism] image:https://img.shields.io/travis/opendevise/bespoke-prism/master.svg[Build Status (Travis CI), link=https://travis-ci.org/opendevise/bespoke-prism] endif::[]

Highlights source code examples in a https://github.com/bespokejs/bespoke[Bespoke.js] presentation using Prism.

== Example

http://opendevise.github.io/bespoke-prism[View the demo] online.

This repository includes a demo folder that shows this plugin in action. To view it locally, you first need to clone this repository:

$ git clone https://github.com/opendevise/bespoke-prism && cd bespoke-prism

Next, install the dependencies inside the project folder using npm:

$ npm install

Finally, visit the file [path]demo/index.html in your browser to see the plugin in action.

== Download

Download the {uri-raw-file-base}/dist/bespoke-prism.min.js[production mode version] or the {uri-raw-file-base}/dist/bespoke-prism.js[development mode version], or use a package manager.

=== npm

$ npm install bespoke-prism

=== Bower

$ bower install bespoke-prism

== Usage

This plugin is shipped in a https://github.com/umdjs/umd[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 a browser global:

bespoke.from('.deck', [
  bespoke.plugins.prism()
]);

== License

http://en.wikipedia.org/wiki/MIT_License[MIT License]

Keywords

FAQs

Package last updated on 21 Jul 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc