# mjml **Repository Path**: mirrors_FGRibreau/mjml ## Basic Information - **Project Name**: mjml - **Description**: MJML: the only framework that makes responsive-email easy - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-24 - **Last Updated**: 2026-05-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
| Introduction | Installation | Usage | Contribute |
--- # Introduction MJML is a markup language designed to reduce the pain of coding a responsive email. Its semantic syntax makes it easy and straightforward while its rich standard components library fastens your development time and lightens your email codebase. MJML’s open-source engine takes care of translating the MJML you wrote into responsive HTML. # Installation ### Requirements - Node >= 4.2.x ```bash npm install -g mjml ``` Via... click: # Show me the code! ### Command line > Compiles the file and outputs the result in `a.html` ```bash $> mjml -r input.mjml ``` > Redirects the result to a file ```bash $> mjml -r input.mjml -o output.html ``` > Watches a file and compiles every time the file changes ```bash $> mjml -w input.mjml -o output.html ``` ### Inside Node.js ```javascript import { mjml2html } from 'mjml' /* Compile an mjml string */ const htmlOutput = mjml2html(`| Maxime | Robin | Loeck | Guillaume | Meriadec | Nicolas | Arnaud | HTeuMeuLeu | Emmanuel Payet | Matthieu |