jsreport-mjml-to-html

0.0.3 • Public • Published

jsreport-mjml-to-html

jsreport recipe transforming mjml to hmtl using node package mjml.

Installation

npm install jsreport-mjml-to-html

Usage

To use recipe in for template rendering set template.recipe=mjml-to-html in the rendering request.

{
  template: { content: '...', recipe: 'mjml-to-html', engine: '...' }
}

jsreport-core

You can apply this extension also manually to jsreport-core

var jsreport = require("jsreport-core")();
jsreport.use(require("jsreport-mjml-to-html")());

/jsreport-mjml-to-html/

    Package Sidebar

    Install

    npm i jsreport-mjml-to-html

    Weekly Downloads

    2

    Version

    0.0.3

    License

    MIT

    Unpacked Size

    15.7 kB

    Total Files

    10

    Last publish

    Collaborators

    • morefaie