Skip to main content

MJML

MJML is a markup language designed to reduce the pain of coding a responsive email.

Language Info

Name

mjml

Extension

.mjml

Editor

markup

Compiler

The browser build of the official MJML compiler.

Version

mjml-browser: v4.14.1

Custom Settings

Custom settings added to the property mjml are passed as a JSON object to the mjml compiler. Please check the documentation for full reference.

Example:

{
"mjml": {
"keepComments": false,
"minify": true
}
}

Example Usage

This playground loads a template from the official MJML email templates: