Skip to content

Editor slash commands

Type / in the editor to open the slash command menu. Type to filter, then press Enter to insert the highlighted item.

The slash menu filters as you type. Typing /warn finds Warning Callout, /h2 finds Heading 2, and /code finds Code Block and Code Tabs. You do not need to type the full name.

Blocks

These commands insert or convert the current block.

Command

What it inserts

Text

A plain text paragraph

Heading 1

A top-level heading (H1)

Heading 2

A section heading (H2)

Heading 3

A subsection heading (H3)

Bullet List

An unordered list

Ordered List

A numbered list

Blockquote

A quotation or attribution block

Code Block

A single code block with syntax highlighting

Code Tabs

A tabbed code group, seeded with a JavaScript tab and a Python tab

Table

A 3x3 table with a header row

Image

An image from a URL (opens the image URL input)

Divider

A horizontal rule for a section break

Callouts

Callouts are four separate commands, one per type. Each inserts a callout of that type, which you can re-type later with the callout's type button.

Command

Callout type

Info Callout

Info: a tip or context

Warning Callout

Warning: a caution or prerequisite

Danger Callout

Danger: a critical issue or breaking change

Success Callout

Success: a best practice or positive outcome

Command

What it inserts

Topic Link

A cross-reference to another topic (opens the topic picker)

Component

A block-level reference to a reusable component (opens the component picker)

Inline Component

A reusable component inserted inline within text

Component and Inline Component require the reusable-components capability, available on the Business plan. On other plans these two commands do not appear in the menu. Topic Link is available on every plan.

AI actions

These commands open AI writing features. They are available on every plan.

Command

What it does

Inline AI

Opens the inline AI prompt to write or rewrite the selected text (same as Cmd+/)

AI Chat

Opens the AI conversation panel (same as Cmd+Shift+/)

AI: Draft section

Drafts new content at the cursor, with a Brief / Standard / Detailed length chooser

AI: Improve

Improves the selection, or the whole topic, inline

Notes

  • Topic Link, Component, Inline Component, and the four AI commands appear only in the topic editor. The component editor offers the block and callout commands but not these.

  • Menu items you are not entitled to on your current plan are hidden, not shown as locked.


See also

Was this page helpful?