You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A feature-rich markdown viewer and editor available as a VS Code extension, web app, and native desktop application for macOS, Windows, and Linux. Supports GFM, math equations, Mermaid diagrams, syntax highlighting, frontmatter, LLM-powered rewriting, and more.
VS Code Extension
Install directly from the VS Code Marketplace or search "Markdown Viewer Enhanced" in the Extensions panel.
# Or install via CLI
code --install-extension ayushojha.markdown-viewer-enhanced
Extension features:
Full markdown preview with GFM, LaTeX math, Mermaid diagrams, and syntax highlighting
Auto-opens preview when a markdown file is detected
AI-powered rewriting — select text, right-click, and choose from Rewrite, Simplify, Expand, Fix Grammar, Make Professional, or Custom Prompt
LLM support via VS Code Language Model API (Copilot), Anthropic, or OpenAI
Editor shortcuts for bold, italic, code, links, images, tables, and code blocks
Works across VS Code, Cursor, Antigravity, VSCodium, Windsurf, and other VS Code-compatible editors
Shortcut
Action
Cmd/Ctrl+Shift+M
Open preview to side
Cmd/Ctrl+B
Toggle bold
Cmd/Ctrl+I
Toggle italic
Cmd/Ctrl+`
Toggle inline code
Features
Full GFM Support — Tables, task lists, strikethrough, autolinks, footnotes
LaTeX Math — Inline and block equations powered by KaTeX
Mermaid Diagrams — Flowcharts, sequence, state, and other diagram types
Syntax Highlighting — 190+ languages with theme-aware colors
Frontmatter — YAML metadata parsing and display
Live Editor — Split-pane CodeMirror editor with real-time preview
Dark/Light Themes — System-preference-aware with manual toggle
Table of Contents — Auto-generated TOC with scroll-spy active highlighting
Cross-Platform — Native desktop app for macOS, Windows, and Linux with file associations
Adjustable Font Size — Zoom in/out controls
Raw HTML — Inline HTML rendering within markdown
Download
macOS
Architecture
Installer
Apple Silicon (M1/M2/M3)
Markdown Viewer-1.0.0-mac-arm64.dmg
Intel
Markdown Viewer-1.0.0-mac-x64.dmg
Windows
Architecture
Installer
Portable
x64
Markdown Viewer-1.0.0-win-x64.exe
Markdown Viewer-1.0.0-portable.exe
ARM64
Markdown Viewer-1.0.0-win-arm64.exe
—
Universal (x64 + ARM64)
Markdown Viewer-1.0.0-win.exe
—
Linux
Architecture
AppImage
Deb
x64
Markdown Viewer-1.0.0-linux-x86_64.AppImage
Markdown Viewer-1.0.0-linux-amd64.deb
ARM64
Markdown Viewer-1.0.0-linux-arm64.AppImage
Markdown Viewer-1.0.0-linux-arm64.deb
Getting Started
Prerequisites
Node.js 18+
npm
Install
npm install
Web Development
npm run dev # Start dev server at http://localhost:5173
npm run build # Production build → dist/
npm run preview # Preview production build locally
Desktop App (Development)
npm run electron:dev # Build + launch Electron locally
Build Installers
# All platforms
npm run electron:build
# Individual platforms
npm run electron:build:mac # macOS (DMG, x64 + arm64)
npm run electron:build:win # Windows (NSIS installer + portable, x64 + arm64)
npm run electron:build:linux # Linux (AppImage + deb, x64 + arm64)
All artifacts are output to the release/ directory.
The app runs in dual mode: when window.electronAPI is available it uses native Electron dialogs and IPC; otherwise it falls back to browser APIs (<input type="file">, clipboard).