Docs/The editor/Slash commands

Slash commands

The slash command menu gives you fast access to every block type without leaving the keyboard. Type / anywhere in the editor to open it.

Using the menu

Type / to open the menu. Start typing to filter — /head will show heading options, /code will show code blocks, and so on. Press / to navigate and Enter to select. Press Escape to close the menu without selecting.

Available commands

CommandWhat it creates
/h1 or /heading 1Large heading
/h2 or /heading 2Medium heading
/h3 or /heading 3Small heading
/bullet or /listBulleted list
/numbered or /orderedNumbered list
/todo or /taskCheckbox list
/codeCode block
/quoteBlockquote
/calloutCallout box
/divider or /hrHorizontal rule
/tableTable
/imageImage upload
/fileFile attachment
/audioAudio player
/detailsCollapsible section
/pageLink to another Nexus page

AI commands

With an OpenAI key configured, additional AI commands appear in the slash menu:

  • /ask — ask a question and get an answer inserted as text
  • /improve — rewrite selected text
  • /summarise — summarise selected content