Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Markdown Preview (Basic)New to Visual Studio Code? Get it now.
Markdown Preview (Basic)

Markdown Preview (Basic)

juji

|
1 install
| (0) | Free
Custom-styled markdown preview, available via Open With...
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Markdown Preview Basic

Markdown Preview Basic screenshot

A custom-styled markdown preview for VS Code, available via Open With... → Markdown Preview (Basic) — sits alongside the built-in preview rather than replacing it.

Available on the VS Code Marketplace.

Features

  • Custom, theme-aware rendering (uses VS Code's own --vscode-* CSS variables, matches your active color theme)
  • Zoom controls, persisted across sessions
  • Local and remote images
  • Math via MathJax ($inline$ and $$display$$)
  • Diagrams via Mermaid (```mermaid code fences)
  • Syntax-highlighted code blocks via Shiki, with a copy button
  • GitHub-style tables (sticky header, zebra striping, horizontal scroll on overflow)
  • Interactive task lists — checking a box edits the underlying - [ ]/- [x] in the markdown source (undo-able like any other edit)

Installation

npm install
npm run build
code --install-extension vscode-markdown-preview-basic-0.0.5.vsix --force

Development

npm install

Launch the extension in a development host:

code --extensionDevelopmentPath="$PWD" "$PWD/samples/advanced-example.md"

Then right-click the open file's tab → Open With... → Markdown Preview (Basic).

After editing extension.js, reload the development host window (Cmd+R) to pick up changes.

Samples

The samples/ folder has example files for each feature:

  • advanced-example.md — general markdown coverage (headings, lists, code, tables, links, images, raw HTML)
  • mathjax-example.md — inline/display math, matrices, aligned equations
  • mermaid-example.md — flowchart, sequence, gantt, class diagrams
  • shiki-example.md — syntax highlighting across common languages, plus the copy button
  • tables-example.md — alignment, zebra striping, wide-table scrolling, inline formatting in cells
  • task-lists-example.md — simple, nested, and mixed task lists
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft