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
- Install the extension.
- Click on any
.md file in the Explorer.
- 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:
- Right-click the editor tab.
- Select Reopen With....
- Choose Text Editor.
Development
- Run
npm install
- Run
npm run compile
- Press
F5 to start debugging.
| |