Offline Markdown Preview installs statistics
By Bowlerr · VS Code Marketplace · Debuggers
Offline Markdown preview for VS Code with Mermaid diagrams, KaTeX math, secure local rendering, export, scroll sync, and outline navigation.
Offline Markdown Preview has 178,813 recorded installs on VS Code Marketplace.
It ranks #1650 of 2,500 tracked VS Code Marketplace listings by installs.
It is rated 5.0 out of 5 from 2 ratings.
PluginStats has 3 daily observations since Oct 16, 2026; the latest is from Oct 18, 2026.
Rating: 5.00 / 5 from 2 ratings
About Offline Markdown Preview
Offline Markdown Preview
Offline Markdown preview for VS Code with Mermaid diagrams, KaTeX math, secure local rendering, export, scroll sync, and outline navigation.
Offline + Secure: runs locally inside VS Code and the extension does not send your Markdown contents anywhere (no cloud, no telemetry).
GIF Demos
A quick tour of key workflows (all offline, inside VS Code):
Live preview + scroll sync Mermaid + math rendering
Outline + heading navigation Remote image download + cache
What You Get
• Free: no paywalls; MIT-licensed. • Offline + secure by design: render/preview/export works locally with bundled libraries (no CDN, no remote fonts, no telemetry). • Secure webview defaults: strict CSP + HTML sanitization (DOMPurify) enabled by default. • Markdown preview panel with live updates and editor/preview scroll sync. • Bundled rendering stack: Mermaid diagrams, KaTeX math, Prism syntax highlighting. • Navigation tools: Markdown outline TreeView, heading quick pick, copy heading links. • Export tools: HTML export and PDF export from the preview workflow. • Safety controls: external-link confirmation, image size limits, sanitization toggle (with explicit unsafe wording).
Quick Start
1. Open a Markdown file (.md) in VS Code. 2. Preview opens automatically by default (offlineMarkdownViewer.preview.autoOpen = true) when a Markdown editor becomes active. 3. You can also run Offline Markdown Preview: Open Preview (or Open Preview in Current Group) manually. 4. Use the outline view and heading commands to navigate larger documents. 5. Export when needed with Export HTML or Export PDF.
Tip: use the editor title action to open preview while editing.
Privacy, Offline, and Data Safety
• No network required for render, preview, or export. • No telemetry and no document-content upload. • Remote web requests are blocked in the webview runtime (fetch, XMLHttpRequest, WebSocket, EventSource) for http(s) targets. • Remote images are blocked by default; you can opt in via offlineMarkdownViewer.preview.allowRemoteImages. • When remote images are blocked, each remote image gets a Download Image action that caches it locally and replaces it in preview. • Strict CSP includes connect-src 'none'. • Sanitization is on by default (offlineMarkdownViewer.sanitizeHtml = true). • Export writes files only on explicit user action (HTML/PDF commands).
Settings
These VS Code settings control rendering, safety, and performance:
• offlineMarkdownViewer.enableMermaid (default: true): enable Mermaid rendering (bundled locally). • offlineMarkdownViewer.enableMath (default: true): enable KaTeX math rendering (bundled locally). • offlineMarkdownViewer.scrollSync (default: true): synchronize editor and preview scrolling. • offlineMarkdownViewer.sanitizeHtml (default: true): sanitize rendered HTML in the webview; turning this off is unsafe. • offlineMarkdownViewer.externalLinks.confirm (default: true): confirm before opening external links. • offlineMarkdownViewer.preview.autoOpen (default: true): auto-open/reuse preview when a Markdown editor becomes active. • offlineMarkdownViewer.preview.allowRemoteImages (default: false): allow loading remote http(s) images in preview. When off, remote images are shown as a download action and cached locally for preview use. • offlineMarkdownViewer.preview.useMarkdownPreviewGithubStyling (default: false): load CSS from the installed bierner.markdown-preview-github-styles extension before any configured custom CSS, while respecting that extension's colorTheme, lightTheme, and darkTheme settings. • offlineMarkdownViewer.preview.maxImageMB (default: 24): maximum local image size loaded into preview. • offlineMarkdownViewer.export.embedImages (default: false): embed local images as data URIs for HTML export (privacy warning shown). • offlineMarkdownViewer.performance.debounceMs (default: 120): debounce delay for live preview updates. • offlineMarkdownViewer.preview.globalCustomCssPath (default: ""): absolute path to a user-level .css file appended to every preview. • offlineMarkdownViewer.preview.customCssPath (default: ""): workspace-relative .css file appended after the global stylesheet. Set this in workspace or folder settings to override the global baseline for a repo. • offlineMarkdownViewer.preview.showFrontmatter (default: false): show parsed YAML frontmatter above the rendered document.
Custom CSS
If you already have Markdown Preview Github Styling installed, the simplest GitHub-style setup is to enable offlineMarkdownViewer.preview.useMarkdownPreviewGithubStyling or run Offline Markdown Preview: Set Custom CSS and choose the installed GitHub styling option.
Use offlineMarkdownViewer.preview.globalCustomCssPath in user settings to apply a stylesheet everywhere, then optionally layer offlineMarkdownViewer.preview.customCssPath in a workspace for repo-specific tweaks.
Preview styles are applied in this order:
1. Offline Markdown Preview base CSS 2. Installed GitHub Markdown Preview Styling CSS, if enabled 3. Global custom CSS 4. Workspace or folder custom CSS
If both custom CSS settings are set, the global stylesheet is injected first and the workspace stylesheet is injected second, so workspace rules win on conflicts.
You can also run Offline Markdown Preview: Set Custom CSS from the Command Palette to enable installed GitHub styling or pick a global/workspace stylesheet without editing settings JSON manually.
For a full setup guide, example CSS, and GitHub-style walkthrough, see docs/custom-css/README.md.
Commands
| Command | Purpose |…
Description from the VS Code Marketplace listing.
- export
- html
- katex
- markdown
- markdown-preview
- math
- mermaid
- offline
- outline
- scroll-sync
- secure
- viewer
- vscode
- vscode-extension
Where Offline Markdown Preview sits in the listing
Each band is one page of 20. Installs on a log scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Recent observations
Full history (3)Similar VS Code Marketplace Debuggers plugins
Data source
Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.
Listing: https://marketplace.visualstudio.com/items?itemName=Bowlerr.offline-markdown-preview. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.