Keyboard shortcuts
Format, restructure, and convert blocks without leaving the keyboard.
Mod is ⌘ on macOS and Ctrl on Windows and Linux.
Keyboard#
| Action | Shortcut |
|---|---|
| Open the block menu | / |
| Bold | ModB |
| Italic | ModI |
| Underline | ModU |
| Strikethrough | ModShiftS |
| Inline code | ModE |
| Link | ModK |
| Nest block | Tab |
| Lift block out | ShiftTab |
| Heading 1 to 3 | ModAlt1–3 |
| Paragraph | ModAlt0 |
| Numbered list | ModShift7 |
| Bullet list | ModShift8 |
| To-do list | ModShift9 |
| Undo | ModZ |
| Redo | ModShiftZ |
Markdown shortcuts#
Type these at the start of a line, followed by a space, to convert the block. Inline ones apply as you close them.
| Type | Result |
|---|---|
# to ###### | Heading 1 to 6 |
- or * | Bullet list |
1. | Numbered list |
[] or [x] | To-do list |
> | Quote |
``` | Code block |
--- | Divider |
`code` | Inline code |
**bold** / *italic* | Bold / italic |
On touch devices#
Phones have no hover or Tab key, so small screens get a bottom toolbar with Add block, Outdent, Indent, Move up, Move down, and Link. While the on-screen keyboard is open, the formatting toolbar is pinned above it. Turn the bottom toolbar off with mobileToolbar={false}.