markdown-studio
VS Code extension that previews Markdown files in a Markdown Studio webview experience.
Features
- Custom preview command:
markdown-studio: Open Preview
Open With... integration for .md and .markdown files via markdown-studio
- Live content updates while editing Markdown
- VS Code light/dark theme sync
- Enhanced markdown support:
- Syntax-highlighted code blocks (
highlight.js)
- Task lists
- Footnotes
- KaTeX math
- Mermaid diagrams
- Link handling:
http/https/mailto open externally
- Relative
.md links open in editor and retarget the preview
- Relative image/asset paths resolve in webview
Configuration
claudeMarkdownPreview.autoUpdateDebounceMs (default 150)
claudeMarkdownPreview.enableMermaid (default true)
claudeMarkdownPreview.enableMath (default true)
claudeMarkdownPreview.enableTaskLists (default true)
claudeMarkdownPreview.enableFootnotes (default true)
Development
- Install dependencies:
- Build:
- Run extension in development:
- Press
F5 in VS Code to launch an Extension Development Host.
Usage
- Open a Markdown file.
- Use one of these flows:
- Right-click the file tab or explorer item and choose
Open With... -> markdown-studio
- Run command palette action:
markdown-studio: Open Preview
- Keep editing the Markdown file and watch the preview refresh automatically.
Notes
- Raw HTML in markdown is disabled (
markdown-it with html: false) for safer rendering.
- v1 intentionally excludes scroll-sync and PDF export.
| |