Skip to content

Shortcuts

Every command has an entry in the command palette, and most have a shortcut. The shortcut is shown under each command-bar button, next to top-bar buttons, and in menus. All shortcuts can be changed.

This table is generated from MDLeaf’s command catalog.

Category Command macOS Windows / Linux
Format Bold ⌘B Ctrl+B
Format Italic ⌘I Ctrl+I
Format Strikethrough ⇧⌘X Ctrl+Shift+X
Format Inline code ⌘E Ctrl+E
Format Heading 1 ⌥⌘1 Ctrl+Alt+1
Format Heading 2 ⌥⌘2 Ctrl+Alt+2
Format Heading 3 ⌥⌘3 Ctrl+Alt+3
Format Heading 4 ⌥⌘4 Ctrl+Alt+4
Format Heading 5 ⌥⌘5 Ctrl+Alt+5
Format Heading 6 ⌥⌘6 Ctrl+Alt+6
Format Normal text ⌥⌘0 Ctrl+Alt+0
Format Bulleted list ⇧⌘8 Ctrl+Shift+8
Format Numbered list ⇧⌘7 Ctrl+Shift+7
Format Task list ⇧⌘9 Ctrl+Shift+9
Format Quote ⇧⌘. Ctrl+Shift+.
Insert Link ⌘K Ctrl+K
Insert Link to heading… ⇧⌘K Ctrl+Shift+K
Insert Image… ⇧⌘I Ctrl+Shift+I
Insert Table ⇧⌘L Ctrl+Shift+L
Insert Code block ⇧⌘E Ctrl+Shift+E
Insert Inline math ⇧⌘M Ctrl+Shift+M
Insert Math block ⌥⇧⌘M Ctrl+Alt+Shift+M
Insert Footnote ⇧⌘F Ctrl+Shift+F
Insert Horizontal rule ⇧⌘H Ctrl+Shift+H
Page Page break ⌘↵ Ctrl+Enter
Page Table of contents — —
Page Running header… — —
Page Running footer… — —
Page Hide header/footer on this page… — —
Page Page numbering… — —
View Toggle draft / page view ⇧⌘D Ctrl+Shift+D
View Draft view — —
View Page view — —
View Cycle editor / split / preview ⌘\ Ctrl+\
View Editor only — —
View Split — —
View Preview only — —
View Toggle assets panel ⇧⌘A Ctrl+Shift+A
View Toggle problems panel ⇧⌘; Ctrl+Shift+;
View Toggle scroll follow — —
View Zoom in — —
View Zoom out — —
View Fit width — —
Navigate Find and replace ⌘F Ctrl+F
Navigate Go to line… ⌘G Ctrl+G
Navigate Next problem F8 F8
Navigate Previous problem ⇧F8 Shift+F8
Navigate Focus next region F6 F6
Navigate Focus previous region ⇧F6 Shift+F6
Navigate Undo ⌘Z Ctrl+Z
Navigate Redo ⇧⌘Z , ⌘Y Ctrl+Shift+Z , Ctrl+Y
File Save now ⌘S Ctrl+S
File Export PDF… ⌘P Ctrl+P
File Export .mdl… ⇧⌘S Ctrl+Shift+S
File Export .md… — —
File Link to folder… — —
File Unlink folder — —
Document Open document… ⌘O Ctrl+O
Document New document — —
Document Document settings… ⇧⌘, Ctrl+Shift+,
Document Go to library — —
Document Delete document… — —
Assets Insert into document ↵ Enter
Assets Rename F2 F2
Assets Delete… ⌦ , ⌫ Delete , Backspace
Assets Move to… M M
Assets New folder… — —
Assets Upload image… — —
Assets Delete unused assets… — —
App Command palette ⇧⌘P , F1 Ctrl+Shift+P , F1
App Settings ⌘, Ctrl+,
App Keyboard shortcuts ⌘/ Ctrl+/
App Request persistent storage — —

Commands in the Assets category with single keys work only while the asset tree has focus. F6 moves focus between the regions of the editor screen.