Markdown Reference
mdsite supports standard GitHub Flavored Markdown (GFM) along with several specialized extensions for a premium reading experience.
1. GFM Alerts
Use the following syntax:
> [!NOTE]
> Valuable information that users should bear in mind even when skimming.
> [!TIP]
> Optional information to help a user be more successful.
> [!IMPORTANT]
> Crucial information necessary for users to succeed.
> [!WARNING]
> Critical content demanding immediate user attention due to potential risks.
> [!CAUTION]
> Negative potential consequences of an action.
These are rendered with distinct colors and icons (Info, Check, Primary, Warning, Error) based on our Material Design theme.
Note
Valuable information that users should bear in mind even when skimming.
Tip
Optional information to help a user be more successful.
Important
Crucial information necessary for users to succeed.
Warning
Critical content demanding immediate user attention due to potential risks.
Caution
Negative potential consequences of an action.
2. Blockquotes
Standard markdown blockquotes are rendered as beautiful Material Design Cards:
For example:
> This is a blockquote. It will appear inside a styled card with a left border matching your primary/secondary theme color.
>> This is a nested blockquote.
Will be rendered as:
This is a blockquote. It will appear inside a styled card with a left border matching your primary/secondary theme color.
This is a nested blockquote.
3. Tables of Contents
A Table of Contents is automatically generated for every page based on the h2 and h3 headings. You don't need to add anything to your markdown files to enable this.
4. Code Blocks
Code blocks support syntax highlighting and are rendered in a monospaced font with a subtle background.
```typescript
// Example code block
const message = "Hello from Nuxt Content!"
console.log(message)
```
This will render as:
// Example code block
const message = "Hello from Nuxt Content!"
console.log(message)
5. Tables with lists
Tables with lists are supported and will be rendered as beautiful Material Design Tables:
For example:
| Plain text | Line breaks | List |
| ---------------- | -------------------------- | --------------------------------------------------------------------- |
| Blah, blah, blah | Line 1<br/>Line2<br/>Line3 | <ul><li>List item 1</li><li>List item 2</li><li>List item 3</li></ul> |
Will be rendered as:
| Plain text | Line breaks | List |
|---|---|---|
| Blah, blah, blah | Line 1 Line2 Line3 |
|
6. Images
Images are supported using standard Markdown syntax. You can reference local images by their relative path.
For example, to include the project logo:

Will be rendered as:
7. Mermaid Diagrams
You can create diagrams using Mermaid syntax:
```mermaid
graph TD;
A[Start] --> B{Is it working?};
B -- Yes --> C[Great!];
B -- No --> D[Check logs];
```
Will be rendered as:
This will be rendered as a beautiful interactive diagram.