AgentDock

1.7k
Dock Editor
Slash Commands

Slash Commands

The slash menu in the Dock Editor. Type a forward slash to insert headings, lists, tables, code, math, images, and more, with keyboard navigation.

The slash menu is the fastest way to insert a block without reaching for a toolbar. Type / on a new line, pick a block, and it drops in at the cursor. This is how you add structure as you write instead of formatting afterward.

Type a forward slash and the menu opens. Keep typing to filter, so /tab jumps to Table and /h2 jumps to Heading 2. Use the arrow keys to move through the list and Enter to insert the highlighted block. Press Escape to dismiss the menu without inserting anything.

GIF
Typing a forward slash to open the slash menu, filtering with a few keystrokes, and pressing Enter to drop a table into the page.

The slash menu includes:

CommandWhat it inserts
TextA plain paragraph
Heading 1A top-level heading
Heading 2A section heading
Heading 3A subsection heading
Bulleted ListAn unordered list
Numbered ListAn ordered list
Task ListA checklist with checkboxes
Block QuoteA quoted passage with a left border
Code BlockA highlighted code region
TableA starter table grid
ImageAn uploaded image
Embed ImageAn image by URL
YouTube VideoAn embedded video player
Math BlockA standalone LaTeX equation
Horizontal RuleA divider line

The slash menu is built to keep your hands on the keyboard. Open with /, narrow the list by typing, move with the arrow keys, and insert with Enter. You never have to leave the writing flow to add a block.

For the inline formatting that lives on the selection toolbar instead of the slash menu, see Formatting Text. For every other shortcut in the editor, see Keyboard Shortcuts.