Crates.io | mrml-wasm |
lib.rs | mrml-wasm |
version | |
source | src |
created_at | 2022-03-11 15:59:23.350239+00 |
updated_at | 2025-03-01 08:11:47.280235+00 |
description | Wasm wrapping on MRML |
homepage | |
repository | https://github.com/jdrouet/mrml/ |
max_upload_size | |
id | 548268 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
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.
import { Engine } from "mrml";
const engine = new Engine();
const result = engine.toHtml("<mjml><mj-body>Hello World</mj-body></mjml>");
const { Engine } = require("mrml/node/mrml");
const engine = new Engine();
const result = engine.toHtml("<mjml><mj-body>Hello World</mj-body></mjml>");