Code Block and HTML import
Two ways to bring your own HTML into Maiilo. Both are Pro features, and both are included in the 14-day Pro trial.
Code Block
Section titled “Code Block”The Code Block is an element you drop into a section like any other. It holds raw HTML and outputs it exactly as written, with no wrapper added around it.
Use it for layouts the other elements do not cover, such as a custom table, a tracking pixel or a snippet from another tool.
- The editor has HTML syntax highlighting and wraps long lines.
- Pretty formats the HTML and Minify compacts it. Neither runs unless you press it.
- Expand opens the editor full screen.
- Variables such as
{{first_name}}work inside the Code Block.
On the Free plan, the Code Block shows a Pro badge in the element sidebar.
HTML import
Section titled “HTML import”HTML import creates a new template from an HTML email you already have. Use it to move existing templates into Maiilo so you can version them, serve them via the API and push them to SendGrid.
- On Templates or the dashboard, choose Import HTML.
- Enter a name and, optionally, a subject.
- Paste your HTML, or upload a
.htmlfile. - Confirm. Maiilo creates the template and opens it.
Imported HTML is kept exactly as-is
Section titled “Imported HTML is kept exactly as-is”Maiilo does not convert imported HTML into its block model. The template is stored and exported byte for byte as you wrote it: nothing is rewritten, reformatted or wrapped. Other tools often drop conditional comments, VML or custom attributes when they import; Maiilo does not.
Editing an imported template
Section titled “Editing an imported template”An imported template is a code-only template. Instead of the drag-and-drop canvas, the builder shows a full-width code editor with Pretty, Minify and Expand. The block palette is hidden, because a complete HTML document cannot be combined with builder sections.
Everything else works the same as any template: autosave, publishing and versions, the API, and SendGrid push.