mjml-raw

JSON →
library 5.3.0 ·javascript
verified Jun 4, 2026

MJML component for embedding raw HTML that bypasses MJML processing. Used inside MJML templates to insert unparsed HTML, often for custom code, templating languages (e.g., Liquid, Handlebars), or pre-doctype content via position="file-start". Current version 5.3.0 (stable). Released as part of MJML monorepo with quarterly minor releases. Key differentiators: preserves exact output, supports minification hints with <!-- htmlmin:ignore -->, can inject content before <!doctype html>. Unlike similar components in other email frameworks, mj-raw is an "ending tag" and cannot contain other MJML components.