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

Markdown Editor & Preview

idreamsoft

|
6 installs
| (0) | Free
vscode-mdeditor is a Markdown editor and real-time preview tool specifically designed for VSCode, brought to you by https://mdeditor.net. It not only supports the creation of Mermaid diagrams and mathematical formulas but also provides code highlighting, making it an ideal choice for writing technic
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Markdown Editor & Preview

A powerful Markdown editor and real-time preview tool specifically designed for VS Code, developed by the mdeditor.net team. It supports Mermaid diagrams, mathematical formulas, code highlighting, image uploading, and many other rich features, making it an ideal choice for writing technical documents and notes.

preview.jpg

✨ Key Features

📝 Powerful Editing Capabilities

  • Real-time Preview - Supports synchronized editing and preview display
  • Syntax Highlighting - Complete Markdown syntax support and code highlighting
  • Rich Toolbar - Contains commonly used formatting tools and quick operations
  • Multi-language Support - Supports both Chinese and English interfaces

📊 Charts and Formula Support

  • Mermaid Diagrams - Supports various chart types including flowcharts, sequence diagrams, Gantt charts, etc.
  • Mathematical Formulas - Complete KaTeX mathematical formula rendering support
  • Table Editing - Visual table editing and formatting

🖼️ Image Management

  • Drag & Drop Upload - Supports direct drag and drop of images into the editor
  • Clipboard Upload - Supports pasting images from clipboard
  • Batch Upload - Upload multiple image files at once
  • GitHub Image Hosting - Automatically uploads to GitHub repositories and retrieves links
  • Progress Feedback - Real-time display of upload progress and status

🔧 Developer Friendly

  • VS Code Integration - Perfect integration with VS Code workflow
  • Custom Editor - Acts as the default editor for .md files
  • API Support - Provides rich programming interfaces
  • Highly Extensible - Supports custom configuration and extensions

📦 Installation

Install from VS Code Marketplace

  1. Open VS Code
  2. Press Ctrl+Shift+X to open the Extensions panel
  3. Search for "Markdown Editor & Preview"
  4. Click Install

Manual Installation

  1. Download the .vsix file
  2. In VS Code, press Ctrl+Shift+P
  3. Type "Extensions: Install from VSIX"
  4. Select the downloaded file to install

🚀 Usage

Basic Usage

  1. Open any .md file in VS Code
  2. Right-click and select "Open with Markdown Editor & Preview"
  3. Or right-click on a .md file in the Explorer and select the same option

Keyboard Shortcuts

  • Ctrl+S - Save document
  • Ctrl+Z - Undo operation
  • Ctrl+Y - Redo operation
  • Ctrl+B - Bold text
  • Ctrl+I - Italic text

Toolbar Functions

  • Text Formatting - Bold, italic, underline, strikethrough, etc.
  • Headers - H1-H6 header levels
  • Lists - Ordered lists, unordered lists, task lists
  • Insert - Links, images, tables, code blocks
  • Special - Mermaid diagrams, mathematical formulas
  • View - Preview mode, fullscreen mode, table of contents

📖 Feature Details

Mermaid Diagrams

Supports various chart types:

graph TD
    A[Start] --> B{Configured?}
    B -->|Yes| C[Start Editing]
    B -->|No| D[Configure Settings]
    D --> C
    C --> E[Save Document]

Mathematical Formulas

Supports KaTeX syntax:

Inline formula: $E = mc^2$

Block formula: $$ \int_{-\infty}^{\infty} e^{-x^2} dx = \sqrt{\pi} $$

Code Highlighting

Supports multiple programming languages:

// JavaScript example
function uploadImage(file) {
  return new Promise((resolve, reject) => {
    // Upload logic
  });
}
# Python example
def process_markdown(content):
    """Process Markdown content"""
    return content.strip()

📝 Changelog

0.0.1 (Current Version)

  • ✅ Initial release
  • ✅ Basic Markdown editing and preview functionality
  • ✅ Mermaid diagram support
  • ✅ Mathematical formula support
  • ✅ Image upload functionality
  • ✅ VS Code integration

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🔗 Related Links

  • VS Code Extension Development Documentation
  • md-editor-v3 Documentation
  • Mermaid Syntax Guide
  • KaTeX Supported Functions

💬 Support

If you like this project, please give it a ⭐️!

Have questions or suggestions? Feel free to:

  • Submit an Issue
  • Send an email to support@mdeditor.net
  • Visit our website mdeditor.net

Enjoy writing Markdown! 🎉

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft