Skip to main content

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

  1. Start a new line in the editor and type /
  2. The command menu appears showing all available commands
  3. Continue typing to filter commands (e.g., /h1 to quickly find Heading 1)
  4. Use arrow keys to select a command, press Enter to confirm
  5. Press Esc to cancel

Available Commands

Basic Blocks

CommandDescriptionShortcut
Heading 1–6Insert heading at corresponding levelCtrl+1–6
Unordered ListInsert unordered listCtrl+Shift+8
Ordered ListInsert ordered listCtrl+Shift+7
Task ListInsert task listCtrl+Shift+9

Extended Blocks

CommandDescription
Block QuoteInsert block quote
InfoBlue Callout
WarningOrange Callout
ErrorRed Callout
SuccessGreen Callout
TipPurple Callout
Inline FormulaInsert inline math formula
Block FormulaInsert block math formula
Column LayoutInsert multi-column layout

Formatting

CommandDescriptionShortcut
BoldBold selected textCtrl+B
ItalicItalicize selected textCtrl+I
UnderlineAdd underlineCtrl+U
StrikethroughAdd strikethroughAlt+Shift+5
Inline CodeMark as codeCtrl+E
HighlightHighlight selected text
LinkInsert hyperlinkCtrl+K

Insert

CommandDescription
Code BlockInsert code block
DividerInsert horizontal rule
TableInsert table
ImageInsert image
Hard BreakInsert line break

List Conversion

When inside a list item, slash commands can convert the current list to another type:

CommandDescription
Convert to Unordered ListConvert current list to unordered
Convert to Ordered ListConvert current list to ordered
Convert to Task ListConvert current list to task list

Next Steps

Slash Commands | Notta - 智能 Markdown 编辑器