Markdown Toolbox Logo Markdown Toolbox
Home
Blog

How do I preview markdown in VSCode?

2024-02-27

Short version

Use the Ctrl+Shift+V shortcut to open a preview of a markdown file in Visual Studio Code.

Long version

Introduction

Visual Studio Code (VSCode) is a powerful, open-source code editor that supports numerous programming languages and file formats, including Markdown.

Previewing Markdown Files

  1. Open Markdown File: Open the Markdown file you want to preview in VSCode.

  2. Preview Command: Press Ctrl+Shift+V on your keyboard to open the markdown preview on the side. Alternatively, you can use the command palette (Ctrl+Shift+P), search for Open Preview, and select Markdown: Open Preview to achieve the same result.

Conclusion

Previewing markdown files in VSCode allows you to see the formatted document in real-time, making it easier to edit and improve your markdown documentation.