A web-based editor for creating and editing Mermaid diagrams with support for both standalone diagrams and inline README documentation.
- Create and edit individual Mermaid diagrams
- Real-time preview with pan and zoom controls
- Export diagrams as PNG or SVG images
- Save diagrams as
.mmdfiles - Load and edit existing
.mmdfiles
- Write markdown documentation with embedded Mermaid diagrams
- Live preview shows rendered markdown with diagrams displayed visually
- Perfect for creating GitHub READMEs with integrated diagrams
- Save as
.mdfiles with properly formatted mermaid code blocks
- Syntax highlighting for Mermaid code
- Support for all Mermaid diagram types (flowcharts, sequence diagrams, class diagrams, etc.)
- Responsive design that works on desktop and mobile
- File management (open/save files)
- Automatic mode switching based on file type
- Clone the repository
- Install dependencies:
npm install - Run the development server:
npm run dev - Open your browser to
http://localhost:5173
- Write your Mermaid diagram code in the editor
- See the live preview on the right
- Use pan (drag) and zoom (scroll wheel or buttons) to navigate large diagrams
- Export as PNG/SVG or save as
.mmdfile
- Toggle "Inline README Mode" in the toolbar
- Write your markdown content with mermaid code blocks:
# My Project ## Architecture ```mermaid graph TD A[Client] --> B[Server] B --> C[Database]
- The preview shows the full rendered README with diagrams
- Save as
.mdfile for use in GitHub or other platforms
.mmd- Standalone Mermaid diagram files (opens in standalone mode).md- Markdown files with embedded diagrams (opens in inline mode).txt- Plain text files (treated as standalone diagrams)
Built with:
- React 19
- Vite
- Mermaid.js
- Marked (for markdown rendering)
MIT