A complete markdown editing experience for VS Code — formatting shortcuts, enhanced preview, Mermaid diagrams, KaTeX math, GitHub alerts, and more. A privacy-first, feature-rich markdown editor.
Built by Wolfberry. Part of the PrivMark family.
No telemetry. No cloud. No AI. Just markdown.
Features
Formatting Shortcuts
Bold, italic, strikethrough, code spans, code blocks, headings, links, images, math, and checkboxes — all via keyboard shortcuts with multi-cursor support.
Smart List Editing
Press Enter to continue a list, Tab/Shift+Tab to indent, and ordered lists renumber automatically. Toggle between bullet, numbered, and plain text with a single command.
Enhanced Preview
Custom webview with full rendering support:
- Mermaid diagrams — rendered as SVGs with caching
- KaTeX math — inline
$x^2$and display$$\int f(x)\,dx$$ - GitHub-style alerts — NOTE, TIP, WARNING, CAUTION, IMPORTANT
- Footnotes, highlights (
==text==), superscript/subscript - Syntax highlighting — auto-detected language, theme-aware
- Bidirectional scroll sync between editor and preview
- Front matter — YAML blocks silently consumed
[[toc]]— rendered table of contents
Table Formatting
Auto-align columns, pad cells, and preserve alignment markers (:---, :---:, ---:) with Ctrl+Shift+F.
Table of Contents
Insert with <!-- toc --> markers and auto-update on save. Supports heading level filtering, ordered/unordered lists, and <!-- omit from toc --> exclusions.
Markdown Outline
Hierarchical heading tree in the Explorer sidebar. Click to navigate. Skips headings inside fenced code blocks. Auto-refreshes on edit.
Auto-Completion
- Heading references: type
](#to get slug completions - File/image paths: type
](to browse workspace files
Privacy and Security
- Remote images blocked by default — click to load individually
- Content Security Policy: no eval, no inline scripts, no external connections
- All HTML sanitized with DOMPurify before rendering
- Mermaid SVG output sanitized before insertion
- Zero network requests. Zero telemetry. Zero analytics.
Keyboard Shortcuts
| Shortcut | Action |
|---|---|
Ctrl+B |
Toggle bold |
Ctrl+I |
Toggle italic |
Alt+S |
Toggle strikethrough |
Ctrl+Shift+] |
Promote heading |
Ctrl+Shift+[ |
Demote heading |
Ctrl+M |
Toggle math |
Ctrl+K |
Insert link |
Ctrl+Shift+K |
Insert image |
Alt+C |
Toggle checkbox |
Ctrl+` |
Toggle code span |
Ctrl+Shift+` |
Toggle code block |
Ctrl+1 — Ctrl+6 |
Set heading level |
Ctrl+Shift+F |
Format table |
Ctrl+Shift+V |
Open preview |
Ctrl+K V |
Open preview to side |
Installation
Install from the VS Code Marketplace or download the .vsix from privmark.app/vscode:
code --install-extension privmark-markdown-editor-<version>.vsix
Privacy Policy
This extension makes zero network requests. All rendering (Mermaid, KaTeX, syntax highlighting) is performed locally using bundled libraries. No telemetry, analytics, or crash reporting is collected. Remote images in markdown previews are blocked by default.
License
Proprietary. Copyright Wolfberry AB. See LICENSE file for details.