MJML basics
Finqu email templates use MJML , an open-source markup language that compiles semantic layout tags into responsive HTML email markup compatible with desktop and mobile email clients.
Basic document structure
Every MJML document starts with <mjml> and wraps visible email content inside <mj-body>:
<mjml>
<mj-body>
<mj-section>
<mj-column>
<mj-text>Hello, world!</mj-text>
</mj-column>
</mj-section>
</mj-body>
</mjml>Common components
See the official MJML documentation for the complete component list, attributes, and styling rules.
Authoring guidelines
- Prefer MJML layout components over raw HTML tables so compiled output stays compatible across email clients.
- Keep section and column hierarchies shallow; avoid deeply nested containers.
- Combine Liquid expressions with MJML attributes and text blocks in
.mjml.liquidfiles; Liquid renders before MJML compiles to HTML.