_emailmd_
Directives

Divider

Styled horizontal rules.

A plain markdown rule (---) renders as a subtle divider colored by the theme's divider_color. For a one-off styled rule, use the divider directive, a single line with no closing ::::

Above.

::: divider color=#dc2626 thickness=2 width=50%

Below.

Parameters

ParameterSyntaxDescription
colorcolor=<color>Line color (default: theme divider_color)
thicknessthickness=<px>Line thickness (default 1px; a bare number is pixels)
widthwidth=<length>Line width (default 100%)
alignBare keywordleft, center, right; position when width < 100%

Theme default

Set the default color for all --- rules in frontmatter:

---
divider_color: "#e2e8f0"
---

Dividers (both forms) read as --- in the plain-text version of the email.

On this page