Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Markdown Live Preview & EditorNew to Visual Studio Code? Get it now.
Markdown Live Preview & Editor

Markdown Live Preview & Editor

jinydev

|
2 installs
| (0) | Free
All-in-one Markdown live editor & split preview with line numbers, Mermaid diagrams, KaTeX math, GitHub Alerts, TOC, real-time images, and native PDF/HTML/PNG export.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Markdown Live Preview & Editor

English | 한국어 (Korean)

Markdown Live Preview & Editor is an all-in-one, distraction-free Markdown live editor, split viewer, and native PDF/HTML/PNG exporter for Visual Studio Code and integrated IDEs (such as Antigravity IDE). Designed so a single lightweight extension replaces separate Mermaid, GitHub styling, checkbox, footnote, TOC, and Markdown PDF extensions.


🌟 Key Features

1. Direct WYSIWYG Live Editing & Instant Line Numbers

  • Click and edit text, lists, checkboxes, and tables directly inside the preview pane with real-time bidirectional sync back to your Markdown source.
  • Left Source Line Numbers Gutter: Displays exact source line numbers aligned with every block, updating instantly as you press Enter or edit.
  • Floating Selection Toolbar & Shortcuts: Select text in preview for quick Bold (Cmd+B), Italic (Cmd+I), Strikethrough, Inline Code, Highlight (==), and Link (Cmd+K) formatting.

2. All-in-One Rich Markdown Rendering (100% Offline)

  • Mermaid Diagrams: Native ```mermaid and :::mermaid SVG rendering (lazy-loaded offline) with interactive Zoom, Drag-to-Pan, Vertical Resize, and one-click SVG copy.
  • KaTeX Math Formulas: Full inline ($...$) and block ($$...$$) LaTeX math with bundled offline fonts.
  • Syntax Highlighting & Copy: Highlight.js Light/Dark themes with language badge and one-click Copy button.
  • GitHub Alerts (Callouts): > [!NOTE], > [!TIP], > [!IMPORTANT], > [!WARNING], and > [!CAUTION].
  • GFM Extras: Interactive task lists (- [ ] / - [x]), footnotes ([^1]), emoji shortcodes (:rocket:), highlight (==mark==), subscript (~sub~), superscript (^sup^), and YAML Front Matter cards.

3. Native PDF / HTML / PNG / JPEG Export (Zero Chromium Download)

  • 100% WYSIWYG Parity: Exports PDFs using the exact same rendering pipeline (KaTeX, Mermaid SVG, Highlight.js, GitHub Alerts, local images) as your live preview.
  • Zero-Bloat Native CDP Engine: Auto-detects installed Chrome, Edge, Brave, Arc, or Chromium (no 150MB download failures!) with isolated headless profiles and automatic HTML print fallback.
  • Full Print Control: Paper format (A4, Letter, etc.), orientation, scale, margins, headers/footers (%%DOC_TITLE%%, %%ISO-DATE%%, pageNumber/totalPages), PDF bookmarks outline, page breaks (<div class="page"/>, <!-- pagebreak -->), per-document YAML Front Matter overrides, convertOnSave, and Explorer batch export.

4. Real-Time Images, TOC, Search, Themes & Lightbox

  • Real-Time Image Sync: Watches image files on disk with mtimeMs cache-busting, supporting relative, root-relative, space/Korean filenames, and raw HTML <img> tags.
  • Clipboard Image Paste: Paste screenshots (Cmd/Ctrl + V) straight into preview to auto-save into ./images/ and insert Markdown links.
  • Outline / TOC: Floating collapsible TOC drawer, inline [toc] support, and Create / Update Table of Contents command.
  • Themes & Navigation: Pure White, Warm Paper, GitHub Light, GitHub Dark, Auto VS Code theme, custom CSS, Find in Preview (Cmd/Ctrl + F), Image Lightbox (double-click), and word/reading-time statistics.

⌨️ Keyboard Shortcuts

Command macOS Windows / Linux Description
Open Side Preview Cmd + Option + M (⌘⌥M) Ctrl + Alt + M Open live preview beside active editor
Standard Preview Cmd + K V or Cmd + Shift + M Ctrl + K V Open / toggle side preview
Find in Preview Cmd + F Ctrl + F Search text inside preview
Zoom In / Out / Reset Cmd + + / - / 0 Ctrl + + / - / 0 Adjust preview zoom level
Save from Preview Cmd + S Ctrl + S Flush live edits and save file

🛠️ Development, Build & Packaging

npm install
npm run build
npm run package

Install the generated .vsix package:

code --install-extension jiny-markdown-live-preview-1.2.0.vsix
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft