Forge Markdown Syntax (.md)
A guide to every Markdown feature you can use in .md files across Uvilo OS docs. Our site runs on Astro Starlight, which extends standard Markdown with Expressive Code enhancements and directive-based components.
For MDX-specific components (<Tabs>, <Steps>, <Card>, etc.), see Forge Markdown MDX Syntax.
Standard Markdown
Everything you already know works:
- Bold with
**double asterisks** - Italic with
*single asterisks* Strikethroughwith~~double tildes~~- Headings with
#,##,###, up to###### - Unordered lists with
-or* - Ordered lists with
1.,2.,3. - Links with
[text](url) - Images with
 - Horizontal rules with
--- - Inline
codewith single backticks - Blockquotes with
>
Example:
Bold text, italic text, and strikethrough are all supported.
A heading
- An unordered item
- Another item
- First ordered item
- Second ordered item
A blockquote with something important to say.
Asides
Asides are colored callout boxes for secondary information. In .md files, use the directive syntax with triple colons.
There are four types:
| Type | Color | Icon | Use for |
|---|---|---|---|
note | Blue | โน๏ธ | Informational notes |
tip | Purple | ๐ | Helpful suggestions |
caution | Yellow | โ ๏ธ | Warnings to be careful |
danger | Red | ๐ | Critical warnings |
Basic asides
Result:
This is a note aside.
Hereโs a helpful tip!
Be careful with this approach.
Do not delete the production database!
Custom titles
Override the default title with square brackets:
Result:
Watch out!
This has a custom title.
Asides can contain nested Markdown, including code blocks.
Code Blocks
Syntax highlighting
Add a language identifier after the opening backticks:
Result:
Line highlighting
Highlight specific lines with curly braces after the language. Use {1,4-6} for non-consecutive lines.
Result:
Mark inserted and deleted text
Show additions and removals with ins= and del=. Default markers (in quotes) highlight in neutral yellow, ins= in green (additions), del= in red (deletions).
Result:
Window frames and titles
Expressive Code adds a terminal/editor window frame around code blocks by default. Use title= to add a filename.
Result:
Mermaid Diagrams
Our site supports Mermaid diagrams inline:
Result:
graph TD
A[Start] --> B{Decision}
B -->|Yes| C[Action 1]
B -->|No| D[Action 2]
C --> E[End]
D --> E
Mermaid supports flowcharts, sequence diagrams, class diagrams, state diagrams, Gantt charts, and more.
Frontmatter
Frontmatter contains metadata used to identify the document and organize it in the sidebar. This is handled automatically by Forge agents, and never edited by humans.
Full frontmatter reference
Summary
| Feature | Syntax |
|---|---|
| Code highlighting | ```js {2-3} |
| Insert/delete markers | ins="text" del="text" |
| Code block titles | title="file.js" |
| Asides | :::note / :::tip / :::caution / :::danger |
| Mermaid | ```mermaid |
| Frontmatter | ---yaml--- |
For the full Starlight component API, see the Starlight Components Reference. For Expressive Code options, see the Expressive Code docs.