Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Markdown Preview OnlyNew to Visual Studio Code? Get it now.
Markdown Preview Only

Markdown Preview Only

HoBox

|
1 install
| (0) | Free
Forces markdown files to open in preview mode only.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Markdown Preview Only

A VS Code extension that forces Markdown files (.md) to open in Preview Mode by default, hiding the source code.

features

  • Automatic Preview: Clicking on a .md file opens the rendered HTML preview directly.
  • Read-Only: The preview is read-only.
  • Live Update: The preview updates if the file changes on disk (e.g. edited by another tool or via "Reopen With").

Usage

  1. Install the extension.
  2. Click on any .md file in the Explorer.
  3. The file will open in a custom editor showing the preview.

How to Edit Source

If you need to edit the source code of the markdown file:

  1. Right-click the editor tab.
  2. Select Reopen With....
  3. Choose Text Editor.

Development

  1. Run npm install
  2. Run npm run compile
  3. Press F5 to start debugging.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft