- Open VSCode
- Press
Cmd+Shift+X(Mac) orCtrl+Shift+X(Windows/Linux) - Click the "..." menu in the Extensions panel
- Select "Install from VSIX..."
- Navigate to and select
markdown-previewer-enhanced.vsix - Click "Install"
- Reload VSCode when prompted
code --install-extension markdown-previewer-enhanced.vsix- Press
Cmd+Shift+P(Mac) orCtrl+Shift+P(Windows/Linux) - Type "Extensions: Install from VSIX..."
- Select the command and choose the VSIX file
- Open any
.mdfile in VSCode - The file should automatically open in preview mode (if "Preview First" is set)
- Check the status bar for the mode indicator:
👁️ Preview Firstor📝 Code First - Right-click in the preview or editor to see context menu options
- Open a markdown file - Should auto-preview based on your mode setting
- Right-click in preview - Should show "Toggle Mode" and "Toggle Theme" options
- Try the checkboxes - Click any
- [ ]checkbox in preview to see it update the source - Test position sync - Scroll in preview, then toggle to code view to see position sync
- Keyboard Shortcut:
- Press Alt+M (Windows/Linux) or Option+M (Mac) to toggle modes
- Works when focused in code editor or preview panel
- Should switch between Preview ↔ Code seamlessly
-
Position Sync:
- Scroll in preview → editor should follow
- Scroll in editor → preview should follow
- Switch modes → position should be preserved
-
Smart Mode Switching:
- Close preview panel → should auto-switch to "Code First"
- Toggle back to preview → should reopen preview
-
Theme Persistence:
- Switch to dark theme → close VSCode → reopen → should remember dark theme
Access settings via Cmd+, (Mac) or Ctrl+, (Windows/Linux), then search for "markdown previewer":
- Default Mode: Choose "preview-first" or "code-first"
- Default Theme: Choose "light" or "dark"
- Show Notifications: Enable/disable mode switch notifications
- Ensure VSCode version is 1.74.0 or higher
- Try reloading VSCode:
Cmd+R(Mac) orCtrl+R(Windows/Linux) - Check VSCode Developer Console:
Help > Toggle Developer Tools
- Verify the file has
.mdextension - Try manually:
Cmd+Shift+P→ "Markdown Previewer: Open Preview" - Check if another markdown extension is conflicting
- Ensure you're using version 1.1.0 or higher
- Try scrolling slowly and wait ~150ms for sync
- Check that both preview and editor panels are visible
- Ensure you're using version 1.1.0 or higher
- Check VSCode settings for
markdownPreviewer.defaultTheme - Try manually setting the theme in VSCode settings
If you encounter issues:
- Check the version: Ensure you have v1.1.5 with all latest features
- Reload VSCode: Often resolves temporary issues
- Check settings: Verify configuration in VSCode settings
- Test with simple file: Try with a basic markdown file first
Once installed, explore these features:
- Keyboard Shortcuts: Press Alt+M / Option+M for instant mode switching
- Interactive Checkboxes: Click checkboxes in preview to update source
- Mermaid Diagrams: Add flowcharts and diagrams with ```mermaid blocks
- Theme Switching: Right-click in preview to toggle light/dark themes
- Position Sync: Experience seamless scrolling between preview and code
- Smart Workflow: Let the extension adapt to your editing preferences
🎉 Enjoy your enhanced markdown editing experience!