Slash Commands
Use slash commands to quickly insert content and formatting
⏱️ 5 minutes
Type / in the editor to trigger the slash command menu for quick insertion of block elements and formatting.
How to Use
- Start a new line in the editor and type
/ - The command menu appears showing all available commands
- Continue typing to filter commands (e.g.,
/h1to quickly find Heading 1) - Use arrow keys to select a command, press
Enterto confirm - Press
Escto cancel
Available Commands
Basic Blocks
| Command | Description | Shortcut |
|---|---|---|
| Heading 1–6 | Insert heading at corresponding level | Ctrl+1–6 |
| Unordered List | Insert unordered list | Ctrl+Shift+8 |
| Ordered List | Insert ordered list | Ctrl+Shift+7 |
| Task List | Insert task list | Ctrl+Shift+9 |
Extended Blocks
| Command | Description |
|---|---|
| Block Quote | Insert block quote |
| Info | Blue Callout |
| Warning | Orange Callout |
| Error | Red Callout |
| Success | Green Callout |
| Tip | Purple Callout |
| Inline Formula | Insert inline math formula |
| Block Formula | Insert block math formula |
| Column Layout | Insert multi-column layout |
Formatting
| Command | Description | Shortcut |
|---|---|---|
| Bold | Bold selected text | Ctrl+B |
| Italic | Italicize selected text | Ctrl+I |
| Underline | Add underline | Ctrl+U |
| Strikethrough | Add strikethrough | Alt+Shift+5 |
| Inline Code | Mark as code | Ctrl+E |
| Highlight | Highlight selected text | — |
| Link | Insert hyperlink | Ctrl+K |
Insert
| Command | Description |
|---|---|
| Code Block | Insert code block |
| Divider | Insert horizontal rule |
| Table | Insert table |
| Image | Insert image |
| Hard Break | Insert line break |
List Conversion
When inside a list item, slash commands can convert the current list to another type:
| Command | Description |
|---|---|
| Convert to Unordered List | Convert current list to unordered |
| Convert to Ordered List | Convert current list to ordered |
| Convert to Task List | Convert current list to task list |
Tip
Slash commands support fuzzy search — type partial keywords to quickly find the command you need.
Next Steps
- Paragraphs & Blocks — Detailed usage of block elements
- Formatting — Text formatting operations
- Table Operations — Create and edit tables