Editor & Writing·4 min read·

Using slash commands in the editor

Type / anywhere to access blocks, formatting, AI, and media without touching your mouse.

Slash commands are the fastest way to get anything into a VeloCMS post. Type / at the start of a new line and a Notion-style menu opens with everything you can insert. Keep typing to filter — the menu narrows to matching commands as you go, so you're never clicking through a wall of options.

Quick start — your first slash command

Open any post in the editor. Move to a blank line, type /h2, and press Enter. The menu disappears and your cursor is inside a fresh heading. That's the whole loop: slash, a few letters, Enter. Most writers learn their five most-used commands within a day and never touch the toolbar again. The command palette is searchable, so even if you forget the exact command name, typing a partial word like /call will surface the callout block.

One thing worth knowing: the / menu only opens at the start of a line. If you're mid-sentence and want to escape to a new line first, press Enter then type /. You can also open the menu by pressing Cmd+/ (Mac) or Ctrl+/ (Windows) — handy when you're in the middle of a paragraph and want the shortcut without leaving the keyboard.

Blocks

  • /h1, /h2, /h3 — heading levels
  • /quote — blockquote
  • /code — code block with language detection
  • /list — bulleted list
  • /numbered — ordered list
  • /divider — horizontal rule
  • /callout — info, warning, or success callout box

Media

  • /image — upload an image or paste a URL
  • /video — embed YouTube, Vimeo, or self-hosted video
  • /embed — universal iframe embed (tweets, Figma, etc.)

AI

  • /ai-continue — AI picks up where you stopped writing
  • /ai-rewrite — rewrite selected text in a different tone
  • /ai-summarize — collapse a section into a TL;DR
  • /ai-title — suggest 5 titles from your opening paragraph

Combining commands with keyboard shortcuts

Slash commands slot neatly into a keyboard-first workflow. Once you've inserted a block, Tab indents list items, Shift+Enter adds a soft return inside a paragraph without starting a new block, and Backspace on an empty block removes it. The AI commands open a floating prompt instead of inserting content directly — you write your instruction, press Enter, and the generation streams in below your cursor. Hit Escape at any point to cancel the generation if it's going off-track.

Common pitfalls

The most common confusion is typing / in the middle of a sentence and expecting the menu to appear — it won't, because VeloCMS would then be breaking normal prose with a command. Move to an empty line first. Another thing: /code inserts a fenced code block and expects you to pick a language from the dropdown; if you skip that step the block renders without syntax highlighting, which looks fine but loses the AEO benefit of properly labeled code. And if you're embedding a tweet with /embed, paste the direct tweet URL (not the share URL) — some share formats resolve to a tracking redirect that the oEmbed fetcher can't follow.

Related articles

  • Using the AI writing assistant — deeper guide to the /ai-* family of commands
  • Keyboard shortcuts reference — the full shortcut map for the editor
  • How to format your posts for readability — using headings, callouts, and lists effectively

Keyboard-driven writers can stay in the home row — Escape closes the menu, arrows navigate, Enter picks.