I am trying to use MJML to create dynamic email content. (official site)
First, this application is running on Windows, so there is no way to run the official compiler on the machine. I may use the official online editor, but it will just drop all syntax that are not recognized, including the PHP tag like <?php
. There are similar problem mentioned on the issue page, but they suggest using <mj-raw>
, which doesn't work for attributes. (Or I need to code all the component by myself.... then what's the point of using MJML?)
Is there other compiler for MJML in PHP? Like less.php for compiling LESS in PHP?