Keyboard shortcuts

Editor and formatting shortcuts wired into Dokly.

Shortcuts shown for Mac. On Windows/Linux, replace with Ctrl.

Block actions#

ShortcutAction
/Open the slash menu
⌘DDuplicate the selected block
⌘⌫Delete the selected block
⌘↵Confirm/exit a block (e.g., escape a code block)
TabIndent (in lists)
⇧TabOutdent (in lists)

Markdown shortcuts#

Type these at the start of a new line and press space — the block transforms.

ShortcutBlock
# Heading 1
## Heading 2
### Heading 3
> Blockquote
- Bullet list
1. Ordered list
- [ ] Task list
```Code block (then pick a language)
---Horizontal divider

Text formatting#

ShortcutAction
⌘BBold
⌘IItalic
⌘ZUndo
⌘⇧ZRedo

AI#

ShortcutAction
⌘KOpen the AI menu (with text selected)

Saving#

ShortcutAction
⌘SSave the current page

Autosave runs in the background — you almost never need to think about Save.

Where next#