Skip to content

jstransformers/jstransformer-typeset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jstransformer-typeset

Typeset support for JSTransformers.

Build Status Coverage Status Dependency Status NPM version

Installation

npm install jstransformer-typeset

Optionally, also use the css from here

API

var typeset = require('jstransformer')(require('jstransformer-typeset'))

typeset.render('<p>"Hello," said the fox.</p>').body
//=> '<p><span class="pull-double">“</span>Hello,” said the fox.</p>'

License

MIT