D

Slash Commands & Blocks

Press / anywhere in a document to open the slash menu — your shortcut to every block type in Dokki.

How the slash menu works

  • Press / on an empty line (or at the start of any block).

  • Type to filter (/h1, /tab, /code, /img, /math).

  • Hit Enter to insert.

  • Esc closes the menu without changing anything.

The menu remembers what you used recently and surfaces those at the top.

Block types

Text

  • Heading 1 / 2 / 3 / 4 / 5 / 6 — section structure. Headings are also collapsible: click the chevron to fold the section.

  • Paragraph — the default body block.

  • Blockquote — set off a quote with a left bar.

  • Callout — colored highlight box for tips, warnings, asides.

Lists

  • Bullet list — unordered.

  • Numbered list — ordered, auto-numbered.

  • Task list — checkboxes, perfect for to-dos and meeting actions.

Data

  • Table — inline rich-text table with resizable columns and per-cell background colors.

  • Collaborative table — full real-time typed table; same primitive as standalone tables.

Code

  • Code block — syntax highlighting for many languages.

  • Inline code — also available from the floating toolbar when text is selected.

Math

  • Math block — a full equation, displayed centered.

  • Inline math — wrap an expression in $...$ to render it inline.

Media

  • Image — upload or paste a URL. Supports drag handles for resize.

  • Video / audio — upload or embed.

  • YouTube / Twitter / Figma / Google Docs / GitHub — paste a URL or use the embed block; renders inline.

Structure

  • Horizontal rule — divider line.

  • Toggle — collapsible content section (separate from collapsible headings).

Drag-handle reordering

Hover any block — a ⋮⋮ handle appears in the gutter. Drag it to reorder, or click for block actions (delete, duplicate, change type, copy link to block).

Markdown shortcuts

You don't need the slash menu for the basics:

Type…

…to get

# / ## / ###

Headings

- or *

Bullet list

1.

Numbered list

[]

Task list

>

Blockquote

`

Code block

---

Horizontal rule

**bold** / *italic* / ~~strike~~

Inline formatting