Appearance
Markdown in Press
Flows support markdown content with the type="markdown" attribute. Press automatically strips leading indentation.
Usage
xml
<flows>
<body type="markdown">
# Heading
Paragraph text with **bold** and *italic*.
</body>
</flows>Supported Features
| Feature | Syntax | Supported |
|---|---|---|
| Heading 1 | # text | Yes |
| Heading 2 | ## text | Yes |
| Heading 3 | ### text | Yes |
| Heading 4 | #### text | Yes |
| Heading 5 | ##### text | Yes |
| Heading 6 | ###### text | Yes |
| Bold | **text** or __text__ | Yes |
| Italic | *text* or _text_ | Yes |
| Bold italic | ***text*** | Yes |
| Strikethrough | ~~text~~ | Yes |
| Ordered list | 1. item | Yes |
| Unordered list | - item or * item | Yes |
| Nested lists | Indented list items | Yes |
| Links | [text](url) | Yes |
| Images |  | Yes |
| Inline code | `code` | Yes |
| Blockquotes | > text | Yes |
| Horizontal rules | --- or *** | Yes |
| Tables | GFM pipe table syntax | Yes |
| Press elements | <frame>, <table>, etc. | Yes |
Mixing Markdown and Press
Embed Press XML directly within markdown flows for advanced layout:
xml
<flows>
<body type="markdown">
# Report Summary
The project achieved all key milestones.
<frame direction="row" space-before-desired="12pt" space-after-desired="12pt">
<frame width="fill" background-color="#f0fdf4" padding="12pt">
<h3 font-color="#16a34a">Completed: 12</h3>
</frame>
<frame width="8pt" />
<frame width="fill" background-color="#fef2f2" padding="12pt">
<h3 font-color="#dc2626">Remaining: 3</h3>
</frame>
</frame>
## Next Steps
Continue with phase two implementation.
</body>
</flows>Indentation
Press automatically removes consistent leading indentation from markdown content. This means you can indent markdown inside XML tags without affecting the output:
xml
<flows>
<body type="markdown">
# This heading works fine
Despite being indented by 4 spaces in the source.
</body>
</flows>GFM Tables
GitHub-Flavored Markdown table syntax is supported:
markdown
| Column A | Column B | Column C |
| -------- | -------- | -------- |
| Value 1 | Value 2 | Value 3 |
| Value 4 | Value 5 | Value 6 |