Back to blog
Guide

Markdown Keyboard Shortcuts - Complete Reference Guide

Master markdown keyboard shortcuts for faster editing. Learn Monaco editor shortcuts, common formatting keys, and productivity tips for VS Code and web editors.

Milind Mishra
Milind Mishra/Creator

Markdown Keyboard Shortcuts

Keyboard shortcuts make markdown editing faster and more efficient. Learn Monaco editor shortcuts (same as VS Code), common formatting keys, and productivity tips for writing markdown without touching the mouse.

Quick answer: Monaco editor supports VS Code-compatible shortcuts: Ctrl+B/Cmd+B for bold, Ctrl+I/Cmd+I for italic, Ctrl+K/Cmd+K for links, Ctrl+``/Cmd+`` for inline code. These work in Monaco-powered editors like VS Code and Markdown Visualizer.


Why Keyboard Shortcuts Matter

Productivity Boost

  • Speed: 3-5x faster than using mouse
  • Flow: Maintain typing rhythm without interruptions
  • Accuracy: Reduce mouse-related errors
  • Ergonomics: Less strain from repetitive mouse use

Statistics: Developers who master keyboard shortcuts report 40% faster editing times and 60% fewer interruptions (2025 developer productivity study).

Monaco Editor Shortcuts

Monaco editor powers VS Code and Markdown Visualizer, providing consistent shortcuts across both tools. Learn once, use everywhere.

Common Formatting Shortcuts

Text Formatting

ActionWindows/LinuxmacOSWorks In
BoldCtrl+BCmd+BMonaco, StackEdit, Typora
ItalicCtrl+ICmd+IMonaco, StackEdit, Typora
StrikethroughAlt+S or Ctrl+Shift+XCmd+Shift+XSome editors only
Inline Code`Ctrl+```Cmd+``Monaco, VS Code
Heading 1Ctrl+1Cmd+1Many editors
Heading 2Ctrl+2Cmd+2Many editors
Heading 3Ctrl+3Cmd+3Many editors
BlockquoteCtrl+Shift+QCmd+Shift+QSome editors

Link and Image Shortcuts

ActionWindows/LinuxmacOSWorks In
Insert LinkCtrl+KCmd+KMonaco, VS Code, StackEdit
Insert ImageCtrl+Shift+ICmd+Shift+ISome editors
UnlinkCtrl+Shift+KCmd+Shift+KSome editors

List Shortcuts

ActionWindows/LinuxmacOSWorks In
Toggle Bullet ListCtrl+Shift+8Cmd+Shift+8Some editors
Toggle Numbered ListCtrl+Shift+7Cmd+Shift+7Some editors
Indent ListTabTabMost editors
Outdent ListShift+TabShift+TabMost editors

Monaco Editor Shortcuts (VS Code Compatible)

Monaco editor (used in VS Code and Markdown Visualizer) provides these shortcuts:

Basic Editing

ActionWindows/LinuxmacOS
UndoCtrl+ZCmd+Z
RedoCtrl+Y or Ctrl+Shift+ZCmd+Shift+Z or Cmd+Y
CutCtrl+XCmd+X
CopyCtrl+CCmd+C
PasteCtrl+VCmd+V
Select AllCtrl+ACmd+A
Delete LineCtrl+Shift+KCmd+Shift+K
Duplicate LineCtrl+D or Shift+Alt+DownCmd+D or Shift+Opt+Down

Navigation

ActionWindows/LinuxmacOS
Go to LineCtrl+GCtrl+G
FindCtrl+FCmd+F
ReplaceCtrl+HCmd+Shift+H
Find NextF3 or Ctrl+G (in find)Cmd+G (in find)
Find PreviousShift+F3 or Shift+Ctrl+GShift+Cmd+G
Jump to Matching BracketCtrl+Shift+\Ctrl+Shift+\

Multi-Cursor Editing

ActionWindows/LinuxmacOS
Add Cursor AboveCtrl+Alt+UpCmd+Opt+Up
Add Cursor BelowCtrl+Alt+DownCmd+Opt+Down
Add Cursor at MouseAlt+ClickOpt+Click
Select Next OccurrenceCtrl+DCmd+D
Select All OccurrencesCtrl+Shift+LCmd+Shift+L

Code Folding

ActionWindows/LinuxmacOS
FoldCtrl+K Ctrl+[Cmd+K Cmd+[
UnfoldCtrl+K Ctrl+]Cmd+K Cmd+]
Fold AllCtrl+K Ctrl+0Cmd+K Cmd+0
Unfold AllCtrl+K Ctrl+JCmd+K Cmd+J

Text Manipulation

ActionWindows/LinuxmacOS
Move Line UpAlt+UpOpt+Up
Move Line DownAlt+DownOpt+Down
Copy Line UpShift+Alt+UpShift+Opt+Up
Copy Line DownShift+Alt+DownShift+Opt+Down
Toggle CommentCtrl+/Cmd+/
Transform to UppercaseCtrl+Shift+UCmd+Shift+U
Transform to LowercaseCtrl+Shift+LCmd+Shift+L

Editor-Specific Shortcuts

VS Code

ActionWindows/LinuxmacOS
Toggle Terminal`Ctrl+```Cmd+``
Toggle SidebarCtrl+BCmd+B
Command PaletteCtrl+Shift+PCmd+Shift+P
Format DocumentShift+Alt+FShift+Opt+F
Quick OpenCtrl+PCmd+P

Markdown Visualizer

ActionWindows/LinuxmacOS
Save (Copy to clipboard)Ctrl+SCmd+S
Toggle PreviewCtrl+Shift+VCmd+Shift+V
Clear EditorCtrl+Shift+DeleteCmd+Shift+Delete
Focus EditorCtrl+1Cmd+1
Focus PreviewCtrl+2Cmd+2

Typora

ActionWindows/LinuxmacOS
Toggle Source ModeCtrl+/Cmd+/
Focus ModeCtrl+Shift+JCmd+Shift+J
Typewriter ModeCtrl+Shift+TCmd+Shift+T
Show/Hide SidebarCtrl+Shift+SCmd+Shift+S

StackEdit

ActionWindows/LinuxmacOS
Toggle PreviewCtrl+Shift+VCmd+Shift+V
PublishCtrl+ECmd+E
SaveCtrl+SCmd+S

Markdown Syntax Shortcuts (Manual)

Headings

markdown
# Press # + Space = H1## Press ## + Space = H2### Press ### + Space = H3

Shortcut: Type hash symbols at line start, press space.

Text Formatting

markdown
Press **text** and continue = BoldPress *text* and continue = ItalicPress ~~text~~ and continue = StrikethroughPress `text` = Inline code

Shortcut: Wrap text with symbols, then continue typing.

Lists

markdown
Press - + Space = Bullet listPress 1. + Space = Numbered listPress - [ ] = Task listPress - [x] = Checked task list

Shortcut: Type list marker at line start, press space.

Links and Images

markdown
Press [link text](url) = LinkPress ![alt text](url) = Image

Shortcut: Use Ctrl+K/Cmd+K for link prompt.

Code Blocks

markdown
Press ``` + Enter = Fenced code blockPress ` + text + ` = Inline code

Shortcut: Type three backticks, press Enter.

Advanced Shortcut Techniques

Multi-Cursor Bulk Editing

Scenario: Change foo to bar in multiple lines:

  1. Type foo in first line
  2. Ctrl+D/Cmd+D to select next occurrence
  3. Type bar - all occurrences change simultaneously
markdown
foo = 1foo = 2foo = 3  ← After Ctrl+D thrice, type 'bar'

Result:

markdown
bar = 1bar = 2bar = 3

Line Duplication

Scenario: Duplicate configuration line:

markdown
PORT=3000
  1. Place cursor on line
  2. Shift+Alt+Down/Shift+Opt+Down

Result:

markdown
PORT=3000PORT=3000

Quick List Creation

Scenario: Create bullet list quickly:

  1. Type -
  2. Type content
  3. Press Enter (new bullet appears automatically)
markdown
- First item- Second item  ← Press Enter, bullet auto-created- Third item

Quick Task List

Scenario: Create task list:

  1. Type - [ ]
  2. Type task
  3. Press Enter (new task appears)
markdown
- [ ] Task 1- [ ] Task 2  ← Press Enter, new task auto-created- [ ] Task 3

Keyboard Shortcut Best Practices

1. Learn Core Shortcuts First

Master these 10 shortcuts first:

  1. Ctrl+C/Cmd+C - Copy
  2. Ctrl+V/Cmd+V - Paste
  3. Ctrl+Z/Cmd+Z - Undo
  4. Ctrl+Shift+Z/Cmd+Shift+Z - Redo
  5. Ctrl+F/Cmd+F - Find
  6. Ctrl+B/Cmd+B - Bold
  7. Ctrl+I/Cmd+I - Italic
  8. Ctrl+K/Cmd+K - Link
  9. Ctrl+S/Cmd+S - Save
  10. Ctrl+G/Cmd+G - Go to line

2. Practice Regularly

  • Use shortcuts for 50% of actions initially
  • Gradually increase to 80-90%
  • Aim for 100% for common actions

3. Customize for Workflow

Many editors allow custom shortcuts. Tailor them to your workflow:

markdown
# Example Customization in VS Code# Settings{  "editor.multiCursorModifier": "ctrlCmd",  "editor.formatOnSave": true,  "editor.wordWrap": "on"}# Keybindings{  "key": "ctrl+shift+m",  "command": "editor.action.toggleMinimap"}

4. Use Command Palette

When you forget a shortcut:

  • VS Code/Markdown Visualizer: Ctrl+Shift+P/Cmd+Shift+P
  • Type action name
  • Execute without knowing shortcut

5. Learn Platform Differences

Windows/Linux and macOS have different modifier keys:

ModifierWindows/LinuxmacOS
ControlCtrlCmd
OptionAltOpt
ShiftShiftShift

Common Markdown Editing Workflows

Creating a Code Block

Fast workflow:

  1. Type ``` (three backticks)
  2. Press Enter
  3. Type language identifier (e.g., javascript)
  4. Press Enter
  5. Type your code
  6. Press Enter after last line
  7. Type ``` (three backticks)

Example:

markdown
```javascriptfunction hello() {  console.log('world');}
### Formatting Text**Bold text:**1. Select text or place cursor2. Press `Ctrl+B`/`Cmd+B`3. Continue typing**Link:**1. Select text2. Press `Ctrl+K`/`Cmd+K`3. Paste URL4. Press Enter### Creating a Table**Fast table creation:**1. Type `| Header 1 | Header 2 |`2. Press Enter3. Type `|---------|----------|`4. Press Enter5. Type `| Cell 1   | Cell 2   |`**Example:**```markdown| Header 1 | Header 2 ||---------|----------|| Cell 1   | Cell 2   |

Adding Task List Items

Fast task list:

  1. Type - [ ]
  2. Type task
  3. Press Enter (new task auto-created)
  4. Repeat for more tasks

Example:

markdown
- [ ] First task- [ ] Second task- [ ] Third task

Troubleshooting Shortcuts

Shortcut Not Working

Common causes:

  1. Wrong editor: Shortcuts vary by editor
  2. Wrong platform: Windows vs macOS differences
  3. Conflicting app: Another app using the shortcut
  4. Wrong mode: Command palette or menu mode

Solutions:

  1. Check editor documentation for correct shortcuts
  2. Ensure platform-specific shortcuts (Ctrl vs Cmd)
  3. Test in different apps to isolate conflicts
  4. Press Esc to exit special modes

Forgot a Shortcut

Options:

  1. Command Palette: Ctrl+Shift+P/Cmd+Shift+P
  2. Menu bar: Look for shortcuts in menus
  3. Documentation: Check editor docs
  4. Google search: "VS Code shortcut for X"

Custom Shortcuts Not Working

Troubleshooting:

  1. Check keybindings.json for syntax errors
  2. Verify shortcut isn't already used
  3. Test in clean environment (disable extensions)
  4. Restart editor after changes

FAQ

Do all markdown editors support the same shortcuts?

No. Monaco editor (VS Code, Markdown Visualizer) has consistent shortcuts. Other editors (Typora, StackEdit) have different shortcuts. Learn Monaco shortcuts first as they're most common.

Can I customize keyboard shortcuts?

Yes. Most editors allow custom keybindings. VS Code has extensive customization via keybindings.json and settings.

What if I use both Windows and macOS?

Learn both Ctrl and Cmd versions. The action is the same, only the modifier key changes.

Are there shortcuts for markdown syntax?

No universal shortcuts for markdown syntax, but typing markdown (#, **, *, `) is very fast. Some editors add custom shortcuts for markdown.

How do I remember all these shortcuts?

Don't try to memorize all at once. Learn 10 core shortcuts first, then gradually add more. Use them regularly until they become muscle memory.

Do shortcuts work on mobile?

Mobile keyboards have different shortcuts or no shortcuts. On mobile, you'll typically use toolbar buttons or long-press menus.

Summary

Essential Shortcuts:

ActionWindows/LinuxmacOS
BoldCtrl+BCmd+B
ItalicCtrl+ICmd+I
LinkCtrl+KCmd+K
Code`Ctrl+```Cmd+``
UndoCtrl+ZCmd+Z
RedoCtrl+Y or Ctrl+Shift+ZCmd+Shift+Z
FindCtrl+FCmd+F
SaveCtrl+SCmd+S

Monaco Editor Advantages:

  • VS Code-compatible shortcuts
  • Consistent across platforms
  • Multi-cursor editing
  • Extensive customization options

Learning Path:

  1. Master 10 core shortcuts
  2. Learn editor-specific shortcuts
  3. Practice with real editing tasks
  4. Customize for your workflow
  5. Gradually expand your shortcut repertoire

— Free Monaco-powered editor with VS Code-compatible shortcuts and live preview.

Data sources: VS Code shortcut documentation, Monaco Editor API, industry keyboard shortcut studies (2025).

Practice

Try it in the editor.

Open Markdown Visualizer and test the ideas from this article in a live editor with instant preview.