API Reference MJML EEx v0.4.0

modules

Modules

Documentation for MjmlEEx template module. This moule contains the macro that is used to create an MJML EEx template.

This module allows you to define a reusable MJML component that can be injected into an MJML template prior to it being rendered into HTML. To do so, create an MjmlEEx.Component module that looks like so

This Engine is used to compile the MJML template.

This module allows you to define an MJML layout so that you can create reusable email skeletons. To use layouts with your MJML emails, create a layout template that contains an <%= @inner_content %> expression in it like so

General MJML EEx utils reside here for encoding and decoding Elixir expressions in MJML EEx templates.