A VS Code extension that provides a beautiful, readable view for Markdown files with a simple key combination toggle.
Features
- Toggle between editing and reading mode for Markdown files
- Beautiful, GitHub-style rendering in the same editor tab
- Real-time updates as you edit
- Key combination:
Ctrl+Shift+M(Windows/Linux) orCmd+Shift+M(Mac) - "Edit Mode" button in the top-right corner to switch back
Usage
- Open any
.mdfile in VS Code - Press
Ctrl+Shift+M(orCmd+Shift+Mon Mac) to toggle to readable view - The same editor tab will show the beautifully rendered markdown
- Click the "Edit Mode" button in the top-right or press the key combination again to return to editing
- Changes are reflected in real-time
Installation
From Marketplace: Search "MarkDown Reader - Nandal" in VS Code Extensions, or install via:
code --install-extension nandal.markdown-reader
From source:
- Clone this repository
- Run
npm installto install dependencies - Run
npm run compileto build the extension - Press F5 to run in development mode
Development
npm run compile- Compile TypeScriptnpm run watch- Watch for changes and compilenpm test- Run tests
Requirements
- VS Code 1.74.0 or higher
License
MIT