MJML will enable you to write high-level code to generate responsive HTML. You have two ways to produce this HTML.
1
Online: We have built an online editor that enables you to write MJML and render the corresponding responsive HTML. Click on "Compile to HTML" and look at the right panel to see how your email will look like on different devices. When you are done editing your MJML, click on the "HTML" toggle button on the top left of your screen to see the responsive HTML generated by the engine: all you have to do now is save it!2
Offline: You can download the engine on you computer in order to execute it locally. It is a binary file that you can use to transpile your MJML code into HTML. Check out the Download page to see how to install. To enhance your experience with MJML, plugins for Atom and Sublime Text are available.Here is the detailed support of each component for major email clients.
First, you’ll need to get the HTML rendered from your MJML. Depending on how you use MJML, you have two options:
1
Using the MJML online editor, all you have to do is click the “Render” button on the bottom left part of the editor so that your email is rendered, then click on “HTML” on the top left part of the editor2
Using the MJML engine on your machine, you can run