Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Markdown Mermaid ViewerNew to Visual Studio Code? Get it now.
Markdown Mermaid Viewer

Markdown Mermaid Viewer

Sankar Mantripragada

|
62 installs
| (0) | Free
Automatically render Mermaid diagrams in Markdown preview
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🧜‍♀️ Markdown Mermaid Viewer

Version License VS Code

🎨 Transform your boring text diagrams into beautiful, interactive visuals! ✨

A delightful Visual Studio Code extension that automatically renders Mermaid diagrams in Markdown preview. Say goodbye to ugly code blocks and hello to stunning visual diagrams! 🚀

✨ Features

  • 🪄 Automatic Rendering: Mermaid diagrams appear seamlessly in your Markdown preview
  • ⚡ Live Updates: Diagrams refresh instantly as you edit your content
  • 🛡️ Error Handling: Provides helpful error messages for invalid syntax
  • 🎭 Zero Configuration: Just install and start using immediately

🚀 Getting Started

  1. 📦 Install the extension from VS Code Marketplace
  2. 📝 Open any Markdown file with Mermaid diagrams
  3. 👀 Preview with Ctrl+Shift+V (or Cmd+Shift+V on Mac)
  4. 🎉 View your beautifully rendered diagrams

🎯 Example

Transform this code block:

graph TD
    A[🚀 Start Your Journey] --> B{🤔 Is it working?}
    B -->|✅ Yes| C[🎉 Celebrate!]
    B -->|❌ No| D[🔧 Debug Time]
    D --> A
    C --> E[😎 Show Off]

Into a beautiful visual diagram! ✨

🎨 Supported Diagram Types

Our extension supports ALL Mermaid diagram types! 🌈

  • 📊 Flowcharts - Perfect for process flows
  • 🔄 Sequence Diagrams - Great for API interactions
  • 🏗️ Class Diagrams - Ideal for system architecture
  • 🔀 State Diagrams - Perfect for state machines
  • 🗂️ Entity Relationship - Database design made easy
  • 🗺️ User Journey - Map your user experiences
  • 📅 Gantt Charts - Project timelines at a glance
  • 🥧 Pie Charts - Data visualization made simple
  • 🌳 GitGraph - Visualize your git history
  • ➕ And many more! - The possibilities are endless!

🛠️ Development

For detailed development information, see DEVELOPMENT.md

Quick Start for Developers

  1. 🍴 Fork this repository
  2. Install dependencies: npm install
  3. 🚀 Launch extension: Press F5
  4. 🧪 Test with test.md

Build Commands

npm run compile  # Compile TypeScript
npm run watch    # Watch for changes
npm run package  # Package for distribution

🤝 Contributing

We welcome contributions! Here's how you can help improve this extension:

  1. 🍴 Fork the repository
  2. 🌿 Create a feature branch (git checkout -b feature/amazing-feature)
  3. ✨ Make your changes
  4. 🧪 Test thoroughly
  5. 💌 Submit a pull request with a detailed description

🐛 Found a Bug?

Please open an issue and we'll address it promptly! �

💝 Support This Project

If this extension made your day a little brighter, consider:

  • ⭐ Starring this repository
  • 📝 Writing a review on the VS Code Marketplace
  • 🐦 Sharing with your fellow developers
  • ☕ Buying me a coffee (coming soon!)

📜 License

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


Made with ❤️ by Sankar Mantripragada

Transforming diagrams into visual masterpieces, one markdown file at a time! ✨

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