Real-time Markdown preview extension for Visual Studio Code with multiple viewing options.
- Preview markdown files in real-time
- Multiple viewing options:
- In the current window
- Side-by-side split view
- Floating window
- New tab
- Syntax highlighting for code blocks
- Styled for readability
When editing a Markdown file (.md
), you can preview it in several ways:
- Right-click in the editor and select one of the MD Viewer options
- Use keyboard shortcuts:
Ctrl+Shift+V
(Cmd+Shift+V
on Mac): Open preview in current windowCtrl+K V
(Cmd+K V
on Mac): Open preview to side
This extension contributes the following commands:
md-viewer.openPreview
: Open preview in current windowmd-viewer.openPreviewToSide
: Open preview in split viewmd-viewer.openFloatingPreview
: Open preview in floating windowmd-viewer.openPreviewInNewTab
: Open preview in new tab
- Visual Studio Code v1.60.0 or higher
- Open VS Code
- Go to Extensions (Ctrl+Shift+X)
- Search for "MD Viewer"
- Click Install
- Images with relative paths may not display correctly in all preview modes
Initial release:
- Basic markdown preview functionality
- Multiple viewing options
- Syntax highlighting