Chrome Extension
May 26, 2026 · View on GitHub
The Chrome extension is the primary platform for Markdown Viewer, offering the most complete feature set.
Overview
| Feature | Status |
|---|---|
| Markdown rendering | ✅ |
| Word export | ✅ |
| All diagram types | ✅ |
| LaTeX formulas | ✅ |
| 29 themes | ✅ |
| Smart caching | ✅ |
| Offline mode | ✅ |
Version: 5.0.0
Manifest: V3 (latest Chrome standard)
Installation
From Chrome Web Store (Recommended)
- Visit Chrome Web Store - Markdown Viewer
- Click "Add to Chrome"
- Confirm the installation
Manual Installation (For Developers)
- Clone the repository
- Run
npm install && npm run build:chrome - Open
chrome://extensions/ - Enable "Developer mode"
- Click "Load unpacked"
- Select the
chrome/distfolder
Permissions Explained
The extension requests these permissions:
| Permission | Purpose |
|---|---|
storage | Save settings and cache locally |
unlimitedStorage | Store diagram cache without limits |
offscreen | Render diagrams in background |
scripting | Inject rendering scripts into pages |
downloads | Save exported Word documents |
file:///* | Access local Markdown files |
https://*/*, http://*/* | Access online Markdown files |
All data stays local. No information is sent to any server.
Supported File Types
The Chrome build uses the shared format registry from the core codebase:
| Extensions | Type |
|---|---|
.md, .markdown, .slides.md | Markdown / Slidev documents |
.plantuml, .puml | PlantUML diagrams |
.mermaid, .mmd | Mermaid diagrams |
.vega, .vl, .vega-lite | Vega / Vega-Lite charts |
.gv, .dot | Graphviz DOT graphs |
.infographic | Infographic charts |
.canvas | Canvas diagrams |
.drawio | draw.io diagrams |
Features
Automatic Rendering
When you open a supported file:
- The extension detects the file type
- Renders the content with syntax highlighting
- Processes any diagrams or formulas
- Displays the formatted result
Export to Word
- Click the Download button or press
Ctrl/Cmd + S - Watch the progress indicator
- Word document downloads automatically
Theme Selection
- Click the extension icon or theme button
- Browse 29 themes
- Click to apply instantly
Smart Caching
- Diagrams are cached locally
- First load: ~5 seconds (for complex docs)
- Subsequent loads: <1 second
Settings
Access settings through:
- Extension popup (click extension icon)
- Right-click menu on extension icon
Available Settings
| Setting | Default | Options |
|---|---|---|
| Default theme | Default | Any of 29 themes |
| Cache size | 1000 items | 100-5000 |
| Auto-detect URLs | Enabled | On/Off |
Keyboard Shortcuts
| Action | Shortcut |
|---|---|
| Export to Word | Ctrl/Cmd + S |
| Toggle TOC | Ctrl/Cmd + B |
| Zoom in | Ctrl/Cmd + + |
| Zoom out | Ctrl/Cmd + - |
| Reset zoom | Ctrl/Cmd + 0 |
Browser Compatibility
| Browser | Support |
|---|---|
| Google Chrome | ✅ Full support (88+) |
| Microsoft Edge | ✅ Full support |
| Brave | ✅ Full support |
| Opera | ✅ Full support |
| Vivaldi | ✅ Full support |
| Arc | ✅ Full support |
Any Chromium-based browser should work.
Troubleshooting
Extension Not Working?
- Check if enabled: Go to
chrome://extensions/and verify it's turned on - File access: For local files, enable "Allow access to file URLs"
- Restart browser: Try closing and reopening Chrome
- Reinstall: Remove and reinstall the extension
Diagrams Not Rendering?
- Wait for completion: Complex diagrams take time
- Check syntax: Verify your PlantUML/Mermaid/DOT/Vega syntax
- Clear cache: Try clearing the diagram cache in settings
Export Fails?
- Check permissions: Ensure download permission is granted
- Disk space: Verify you have disk space available
- Try again: Some complex exports may need a second attempt
Privacy & Security
- ✅ Manifest V3 compliant (latest Chrome security standard)
- ✅ All processing local
- ✅ No external requests
- ✅ No tracking or analytics
- ✅ Open source and auditable
Updates
The extension updates automatically through Chrome Web Store. To check your version:
- Go to
chrome://extensions/ - Find Markdown Viewer
- Version shown under the name
Source Code
GitHub: markdown-viewer-extension
The chrome/ directory contains all Chrome-specific code.