Skip to content

Preview Markdown in VS Code

With a .md file open, press Cmd+Shift+V (Ctrl+Shift+V on Windows and Linux). VS Code opens a rendered preview in a new tab.

Preview in a tab ⌘⇧V / Ctrl+Shift+V
Side-by-side ⌘K V / Ctrl+K V

Press Cmd+K then V (Ctrl+K V) to open the preview next to your editor. It scrolls in sync as you type.

VS Code renders Markdown out of the box. For extras like diagrams or PDF export, add an extension such as Markdown All in One.