Drupal is a registered trademark of Dries Buytaert

This module allows converting a node to a MJML template and previewing the HTML generated by MJML from this template.

Features

  • Download the MJML template for a node.
  • Preview the HTML generated from the MJML template.

Post-Installation

You will need to ask for a MJML API key.
Then browse to /admin/config/services/mjml_preview to set your API credentials.

To write the MJML, you need to create a mjml view mode for your bundle and extend the template of this view mode in your theme.
(The template will need to contain MJML, not HTML.)

You will then have new "Preview MJML" and "Download MJML" tabs on each node.

Additional Requirements

Similar projects

This module does not allow sending MJML from Drupal (see the MJML module for this feature).

Activity

Total releases
3
First release
Dec 2025
Latest release
1 month ago
Release cadence
15 days
Stability
0% stable

Release Timeline

Releases

Version Type Release date
1.0.0-alpha2 Pre-release Jan 7, 2026
1.0.0-alpha1 Pre-release Dec 8, 2025
1.x-dev Dev Dec 8, 2025