jstransformer-prismjs

0.1.0 • Public • Published

jstransformer-prismjs

Prism.js support for JSTransformers.

Build Status Coverage Status Dependency Status NPM version

Installation

npm install jstransformer-prismjs

API

var prism = require('jstransformer')(require('jstransformer-prismjs'))
 
prism.render('p { color: red }', { language: 'css' }).body
//=> '<pre><code class="language-css">p { color: red }</code></pre>'

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i jstransformer-prismjs

Weekly Downloads

3

Version

0.1.0

License

MIT

Last publish

Collaborators

  • calebeby
  • forbeslindesay
  • hemanth
  • robloach
  • stoeffel
  • timothygu