A VSCode extension that provides enhanced markdown preview functionality with GitHub-style rendering, auto-preview capabilities, and intuitive mode switching.
Latest Update: Version 1.1.5 adds keyboard shortcut support (Alt+M / Option+M) for seamless mode switching.
✨ Features
🚀 Auto-Preview System
Smart File Opening: Click any .md file in the file browser
"Preview First" mode: Opens as rendered preview
"Code First" mode: Opens as raw markdown
Seamless Mode Switching: Toggle between preview ↔ code in the same panel
✅ Interactive Elements
Live Checkboxes: Click checkboxes in preview to update source markdown automatically
Save from Preview: Press Ctrl+S (Cmd+S on Mac) to save directly from preview mode
Mermaid.js Diagrams: Full support for flowcharts, sequence diagrams, and more
GIF Support: Full animated GIF rendering for both local and remote images
Position Sync: Bidirectional scroll synchronization between preview and code editor
Smart Mode Switching: Preview closure automatically switches to code-first mode
🎨 Beautiful Themes
GitHub Light Theme: Clean, professional styling matching GitHub's markdown rendering
Dracula Dark Theme: Beautiful dark mode with authentic Dracula colors
Instant Theme Switching: Right-click in preview to toggle themes
Persistent Preferences: Theme choice saved across VSCode sessions
🎬 Image & GIF Support
Animated GIFs: Full support for animated GIF rendering with proper animation
Local & Remote: Support for both local files and remote URLs
All Formats: GIF, PNG, JPG, JPEG, SVG, WebP with responsive sizing
Theme Compatible: Images display in both light and dark themes
🖱️ Intuitive Context Menus
Right-click in Preview:
Toggle Mode (Preview ↔ Code)
Toggle Theme (Light/Dark)
Right-click in Markdown Editor:
Toggle Mode (Preview ↔ Code)
Open Preview
⌨️ Keyboard Shortcuts & Commands
Alt+M / Option+M: Quick toggle between Preview ↔ Code modes
Command Palette via Cmd+Shift+P (Mac) / Ctrl+Shift+P (Windows):