Mails

Callouts

Learn how to add callouts to your e-mails

{{ callout                              # section type
  type: warn                            # type of callout
  desc: Warnings reported by our        # callout prefix
        system                          # message
  border: true                          # callout border
}}

We let our users generate helpful       # callout content can
callouts to display in their e-mails.   # be written using
                                        # simple novem markdown
Currently supported are
 * Warnings
 * Errors
 * Information
 * And success

{{ /callout }}                           # callouts must be terminated
                                        # with the /callout section

Callouts provide a way to draw attention to important information in your e-mails. They come in four types — info, warning, error and success — each with a distinct visual style.

A novem callout is included in an e-mail by creating a special markdown section in the content file. The markdown follows the novem markdown section syntax with the keyword callout, an example of which can be seen at the beginning of this page as well as in the examples section.

Options to the section are supplied as yaml within the double brackets.

keyword: type
options: info | warn | error | success
default: info

The type determines the visual style and color of the callout box. Use info for general information, warn for important notices, error for critical alerts, and success for positive confirmations.

keyword: border
options: true | false
default: false

Controls whether a visible border is rendered around the callout box.

keyword: desc
options: "Description text"

An optional short prefix or description that appears above the callout content in a smaller, muted style.

{{ callout
  type: info
}}
Please note that data for January 18th has been estimated.
{{ /callout }}

{{ callout
  type: warn
  desc: System Notice
  border: true
}}
**Warning:** The following data sources are currently unavailable:
* Market data feed
* Currency exchange rates

Expected resolution: 2024-01-15 09:00 UTC.
{{ /callout }}

{{ callout
  type: error
  border: true
}}
**Critical:** This report could not be generated. Please contact
the analytics team for assistance.
{{ /callout }}