Adding an HTML block
- In Design Studio, select a channel.
- Add an HTML block from the block sidebar or toolbar.
- Enter your HTML in the block editor.

HTML editor
The HTML block offers an inline code editor in the right panel. Enter standard HTML (like<div>, <table>, or <img>) and inline CSS for custom layouts or tracking (e.g., analytics pixels).


Variables and handlebars
HTML blocks support variables using the{{variable}} syntax and handlebars helpers like {{#if}} for conditional logic.

Variables (
{{variable}}) and handlebars ({{#if}} etc) in HTML blocks only resolve on actual send; during preview mode, you’ll see the raw syntax, not sample values.Best practices
- Keep markup minimal and test across channels.
- Use variables for dynamic content rather than hardcoding.
- Validate your HTML and CSS to avoid rendering issues in different email clients.