Socket
Book a DemoInstallSign in
Socket

jstransformer-prismjs

Package Overview
Dependencies
Maintainers
5
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jstransformer-prismjs

prismjs support for JSTransformers.

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
5
Created
Source

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

Keywords

jstransformer

FAQs

Package last updated on 01 Nov 2015

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