Back to FAQ

How to preview markdown in vscode?

Learn how to preview Markdown files in Visual Studio Code.

How to Preview Markdown in VS Code

Visual Studio Code has built-in Markdown preview functionality. You can preview your Markdown files in several ways.

Methods to Preview

  • Keyboard shortcut: Press Ctrl+Shift+V (Windows/Linux) or Cmd+Shift+V (Mac)
  • Command Palette: Press Ctrl+Shift+P (or Cmd+Shift+P), then type "Markdown: Open Preview"
  • Right-click: Right-click on a .md file and select "Open Preview"
  • Split view: Press Ctrl+K V to open preview side-by-side

Recommended Extensions

  • Markdown All in One: Enhanced preview and shortcuts
  • Markdown Preview Enhanced: Advanced preview features
  • Markdown PDF: Export to PDF