This was only a taste of what can be done with MJML. MJML will give you the option to do this when you’re ready to export to HTML. Certain email clients will cut off emails if the size of the email is too big (for Gmail, the limit is 102kb), but you can avoid this by making the file size smaller, which is also known as minifying the code. However, all of this additional HTML is nestled snugly within the simple lines of code you just created with MJML.Īnother great perk of MJML is the ability to minify your code. But why? When you look closely through the HTML, you’ll notice all the extra styling and nesting that you would’ve had to do if you had been solely working with HTML. The email we coded above was only about 20 lines long while the HTML is almost 200. Scalero’s platform also supports MJML so our users have the flexibility to use it when creating templates.Īfter converting your MJML into HTML, whether you copy or export the code, you’ll also notice that there are many more lines of HTML code than there are MJML code.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |