Markdown Cheat Sheet for Warp Docs β
This guide is for designers, content editors, and anyone writing documentation in Warp's VitePress-based system. It shows what you can do in Markdown, with optional Vue components and styling extensions.
π Basic Markdown Syntax β
Feature | Syntax Example | Notes |
---|---|---|
Headings | # H1 , ## H2 , ### H3 | Use for structure |
Lists | - item , 1. item | Ordered & unordered |
Links | [Warp](https://warp-ds.dev) | |
Images |  | Local or remote |
Code (inline) | `const x = 5;` | Inline code |
Code block | js\nconst hello = 'world';\nconsole.log(hello);\n | Syntax highlighting |
Tables | Create simple data tables, SEE Example further down | |
Blockquote | > This is a tip or note | Use for callouts or tips |
Full Examples β
Headings β
# Heading lvl 1
## Heading lvl 2
### Heading lvl3
Bullet list β
- Apple
- Banana
- Cherry
- Apple
- Banana
- Cherry
Numbered list β
- First step
- Second step
- Final step
1. First step
2. Second step
3. Final step
Links β
[Visit Warp DS](https://warp-ds.dev)
Images β

Inline Code β
To declare a variable: const x = 10;
To declare a variable: `const x = 10;`
Code Block β
function greet(name) {
return `Hello, ${name}!`;
}
```js
function greet(name) {
return `Hello, ${name}!`;
}
```
Tables β
Feature | Status |
---|---|
Tabs | β |
Cards | β |
Alerts | β |
| Feature | Status |
|---------|--------|
| Tabs | β
|
| Cards | β
|
| Alerts | β |
Blockquote β
Always write semantic markup.
> Always write semantic markup.
Custom Markdown Blocks β
Each container styles the block with matching color and icon. Use them for notes, cautions, warnings, and callouts.
::: tip (blue) β
TIP
Use consistent spacing in UI.
::: tip
Use consistent spacing in UI.
:::
::: warning (yellow) β
WARNING
Avoid mixing multiple icon styles.
::: warning
Avoid mixing multiple icon styles.
:::
::: danger (red) β
DANGER
Never override token values directly.
::: danger
Never override token values directly.
:::
::: image-block β
::: image-block

:::
Keyboard Keys with <kbd>
β
Tab key opens field
β
Hit the W Key to move forewards
<kbd>Tab</kbd> key opens field
<kbd aria-label="Arrow Down">β</kbd>
Hit the <kbd>W</kbd> Key to move forewards
Key | Syntax |
---|---|
Enter | <kbd>Enter</kbd> |
Arrow Up | <kbd aria-label="Arrow Up">β</kbd> |
Arrow Down | <kbd aria-label="Arrow Down">β</kbd> |
Arrow Left | <kbd aria-label="Arrow Left">β</kbd> |
Arrow Right | <kbd aria-label="Arrow Right">β</kbd> |
Always use
aria-label
for arrows and other cryptic letters to help screen readers
(ββ _β ) Advanced features β
Frontmatter Options β
This is the main configuration for each main page (typically a index.md in the structure). If you are making a new page from an excisting structure its probably easier to copy a already excisting page as a startingpoint. Add these at the top of any new .md
file:
---
title: My Page Title
description: Short SEO text
layout: doc
aside: true
outline: [2, 3]
---
<card>
and <cards>
β
<cards>
<card>Text content</card>
<card imgurl="/images/la01.jpg" imgalt="An image">With image</card>
</cards>
- Use
<cards>
to lay out multiple<card>
items - Props:
imgurl
,imgalt
<ComponentStatus>
β
<ComponentStatus
react="released"
vue="developing"
elements="planned"
android="unsupported"
ios="unsupported"
/>
Status | Color |
---|---|
released | green |
developing | yellow |
planned | blue |
unsupported | red |
<do>
, <do not>
, <dodonts>
β
<dodonts>
<do imgurl="/right.png" imgalt="Right">Do this</do>
<do not imgurl="/wrong.png" imgalt="Wrong">Avoid this</do not>
</dodonts>
- Props:
imgurl
,imgalt
,darkmode
- Use
<dodonts>
to automatically layout left/right pairs
<tabs-content>
β
<tabs-content variant="main">
<template #Overview>
Overview content
</template>
<template #Code>
Code snippet here
</template>
</tabs-content>
- Tabs auto-generated from slot names
- Props:
variant="main"
(or other styling), slots like#Overview
,#Usage
, etc.
π¨ Styling with UnoCSS β
Warp Docs uses @warp-ds/uno
and @warp-ds/preset-docs
:
- Utility classes like
pd-text-sm
,bg-[--vp-c-bg-soft]
,text-[--vp-c-text-1]
- Shortcuts like
ex-box
,ex-font
,ex-pic-no
- Many layout helpers are safelisted and available directly
π§ Tips for Contributors β
- You can use all HTML inside Markdown if needed
- Component names and props are case-sensitive
- Keep slot names simple:
#Overview
,#Usage
, etc. - Ask a dev if a component isnβt rendering β it may need safelisting or registration
Need help? Reach out to a developer or maintainer for guidance on using these features in Markdown.