jstransformers / jstransformer-mjml

MJML support for JSTransformers
http://npm.im/jstransformer-mjml
MIT License
0 stars 0 forks source link

jstransformer-mjml

MJML support for JSTransformers.

Build Status Coverage Status Dependency Status NPM version

Installation

npm install jstransformer-mjml

API

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

var input = `<mj-body>
  <mj-section>
    <mj-column>
      <mj-text>
        Hello World!
      </mj-text>
    </mj-column>
  </mj-section>
</mj-body>`

mjml.render(input).body
//=> The repsonsive HTML generated

License

MIT