Skip to content

jstransformers/jstransformer-prismjs

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Prism.js support for JSTransformers.

Resources

License

Stars

Watchers

Forks

Packages

No packages published