Markdown
All the standard and extended markdown syntax Email.md supports.
Email.md supports standard markdown plus several extensions. This page covers the features that aren't covered by their own dedicated docs pages (buttons, images, tables, emoji, and directives).
Text Formatting
Standard inline formatting works as expected:
**Bold text** and *italic text* and ***bold italic***.
~~Strikethrough~~ for deleted content.
`inline code` renders with a subtle background.Headings
# Heading 1
## Heading 2
### Heading 3
#### Heading 4Headings are styled with the theme's headingColor.
Links
[Visit our site](https://example.com)
Autolinks work too: https://example.comLinks are styled with the theme's brandColor.
Lists
Ordered and unordered lists:
- First item
- Second item
- Third item
1. Step one
2. Step two
3. Step threeTask Lists
- [x] Design approved
- [x] Content written
- [ ] Ready to sendTask lists render with checkboxes — checked items show a filled checkbox, unchecked items show an empty one.
Blockquotes
> "The best way to predict the future is to create it."
>
> — Peter DruckerBlockquotes are styled with a left border in your theme's brandColor.
Code Blocks
Fenced code blocks render with a theme-aware background:
```
const greeting = "Hello, world!";
console.log(greeting);
```The background uses the theme's cardColor with rounded corners and comfortable padding.
Definition Lists
Email.md
: A markdown-to-email library.
MJML
: The framework that powers Email.md's HTML output.Highlighted Text
Use ==double equals== to highlight text with a colored background:
Don't miss our ==biggest sale of the year==!The highlight uses your theme's brandColor at reduced opacity.
Subscript & Superscript
H~2~O is water.
E = mc^2^ is famous.~text~ renders as subscript, ^text^ renders as superscript.
Horizontal Rules
A horizontal rule creates a visual separator between sections:
Thanks for reading!
---
*The Acme Team*