Skip to content

Blocks

A post written in the editor is a list of blocks. Digize keeps them as its own JSON (the API’s blocks), checks each one, and renders them three ways: the email’s HTML, its plain-text part, and the web HTML the API hands your site.

Block type In the email On the web
Text paragraph A paragraph with bold, italic, underline, strikethrough, code and links <p>
Heading heading (level 1–3) A heading One level down (<h2>–<h4>): your page’s title is its <h1>
List list (ordered) Bullets or numbers, one level deep <ul> or <ol>
Quote quote Set off with a bar in your accent colour <blockquote>
Image image The picture at its width, with its alt text, link and caption <figure class="nl-image">
Button button A bulletproof button: the link itself, padded, so it works with images off and in Outlook <p class="nl-button">
Embed embed A linked card with the video’s or post’s picture, title and author YouTube’s, Instagram’s or TikTok’s player in an <iframe>; an X post as X’s <blockquote>
Divider divider A line <hr>
Code code Monospaced, kept as written <pre><code>
Table table (header) A table, its first row a header or not <table>
HTML html Your HTML, as written Your HTML, inside <div class="nl-html">
Paywall break paywall For a free reader, the end of the email: its words, and an upgrade button once there are paid tiers <div class="nl-paywall" data-paywall> for a free reader
Referral referral The reader’s own share link as a button and to copy, with their referral count and next reward; nothing while the referral program is off <section class="nl-referral" data-referral> with empty data-referral-link and data-referral-count elements for your site to fill
Poll poll A question and 2 to 6 answers, each a button with the reader’s own vote link (Polls); left out of the welcome email and automations’ emails <section class="nl-poll" data-poll data-poll-id="…"> with the question and answers, for your site to fill with the results

Images are uploaded to your workspace’s Cloudflare Images (by the image’s dialog, or pasted or dropped into the post), made with AI, or given by their address. Give each one alt text: it’s what people who can’t see it hear, and what mail apps that hold images back show. Its width is a share of the 600 px column.

Embeds take a YouTube video’s, an X post’s, an Instagram post’s or reel’s, or a TikTok’s link. Mail apps don’t play anything, so the email shows the provider’s picture and a link to it; Digize copies the picture into your Images when it’s added, since providers’ own picture addresses stop working after a while. Instagram’s posts have no picture (Instagram doesn’t give one without an app of its own). On the web, YouTube’s player loads from youtube-nocookie.com; for X posts, put X’s widgets script on your page to turn the blockquote into the post.

Code is kept exactly as written: merge tags aren’t filled in it, so {{braces}} in a code sample show as they are.

Every block has show, set in its Block menu:

on both (the email and the web), email only or web only
tiers all readers, free readers only, or paid readers only

A block that isn’t everyone’s everywhere is marked in the editor, such as Email only or Paid readers. A note just for your email readers (“Reply and tell us…”) is email; a pitch to upgrade is for free readers.

Free readers stop at the first paywall break they’d see: their email ends with its words (and an upgrade button once there are paid tiers), and the web HTML your site gets stops there. Paid readers read straight past it. A post marked Paid readers only with no paywall break shows free readers nothing but its call.

Merge tags are filled in for each reader when the post goes: {{first_name}}, {{last_name}}, {{name}}, {{email}}, {{company}}, {{workspace_name}} and {{contact.<field>}} for a contact field, and {{view_online}}: the link to read the post in a browser. With the referral program on, {{referral_link}}, {{referral_count}}, {{next_milestone}} and {{referral_hub_link}} are each reader’s own. A button or link can go to {{view_online}} too. A tag Digize doesn’t know reads as nothing, never as braces.

On the web there’s no reader, so only {{workspace_name}} and {{view_online}} are filled in and the others read as nothing: keep greetings like Hi {{first_name}} in email-only blocks if that matters.

The email is a 600 px column in your brand’s accent colour (Settings › Branding), with your logo above it when you have one, and never Digize’s branding. Its colours are chosen to survive mail apps that turn emails dark by themselves, and it carries its own dark colours for the ones that ask (Apple Mail, Outlook.com). It starts with a View in browser link and ends with the footer: why the reader gets it, your business’s postal address (Newsletter › Settings) and the unsubscribe link. Its links go through Digize to be counted, and the open pixel is in it, when tracking is on.

Every block post also has a plain-text part, which each service (Resend, SendGrid, Mailjet) sends beside the HTML: headings, lists, quotes and buttons as text, links after their words, and the same footer.