mrml
v1.4.12
Published
Wasm wrapping on MRML
Downloads
2,753
Readme
MRML Wasm
This project is a reimplementation of the nice MJML
markup language in Rust, built in webassenbly.
To have more information, take a look at the repository.
Usage on the browser 🌍
import { Engine } from "mrml";
const engine = new Engine();
const result = engine.toHtml("<mjml><mj-body>Hello World</mj-body></mjml>");
Usage on node 💻
const { Engine } = require("mrml/node/mrml");
const engine = new Engine();
const result = engine.toHtml("<mjml><mj-body>Hello World</mj-body></mjml>");