Skip to content

Vesperino/MerMarkEditor

Repository files navigation

MerMark Editor - Mermaid Markdown Editor

A modern, open-source Markdown editor with built-in Mermaid diagram support

Release License Stars Downloads

FeaturesScreenshotsInstallationUsageDevelopmentPolski


Why MerMark Editor?

MerMark Editor combines the simplicity of Markdown with the power of Mermaid diagrams in a beautiful, native desktop application. Perfect for developers, technical writers, and anyone who needs to create documentation with flowcharts, sequence diagrams, and other visualizations.

Key Benefits

  • No cloud dependency - Your documents stay on your computer
  • Native performance - Built with Tauri for fast, lightweight operation
  • WYSIWYG editing - See your formatted content as you type
  • Mermaid integration - Create diagrams directly in your documents
  • Cross-platform - Available on Windows, macOS and Linux

Features

Markdown Editing

  • Full GitHub Flavored Markdown (GFM) support
  • WYSIWYG editor with live preview
  • Syntax highlighting for code blocks (50+ languages)
  • Tables, task lists, blockquotes, and more
  • Keyboard shortcuts for efficient editing

Mermaid Diagrams

  • Flowcharts - Visualize processes and workflows
  • Sequence diagrams - Document system interactions
  • Class diagrams - Design software architecture
  • State diagrams - Model state machines
  • Entity Relationship diagrams - Database design
  • Gantt charts - Project planning
  • Pie charts - Data visualization
  • And many more diagram types!

Export & Integration

  • Export to PDF with proper formatting
  • Save as Markdown (.md files)
  • Clean, portable file format

User Experience

  • Tab support - Work with multiple documents
  • Dark/Light themes - Easy on the eyes
  • Character & word count - Track your progress
  • Auto-save - Never lose your work
  • Bilingual UI - English and Polish interface
  • Keyboard shortcuts modal - Quick reference for all shortcuts (Ctrl+/)

Advanced Features

  • Split View - Edit two documents side by side with adjustable split ratio
  • Compare Tabs - Diff comparison between left and right pane documents (Ctrl+Shift+C)
  • Change Tracking - View all changes made since last save (Ctrl+Shift+D)
  • Code View - Switch between visual WYSIWYG and raw Markdown with cursor position tracking
  • AI Token Counter - Estimate tokens for GPT (OpenAI), Claude (Anthropic), and Gemini (Google)
  • Multi-window support - Open multiple independent editor windows
  • Cross-window tab management - Drag and drop tabs between panes and windows

Screenshots

{03A741AD-0E65-42CC-9506-0C0EC0C8CF77}
Dark mode

{E38EA017-7177-4EBC-A5B9-3F8A4C905F14}
Clean, minimalist interface with intuitive toolbar

{AD7741E3-C03B-4450-B8A8-460E9E22BF3D}
Multi-tab editing with formatted documents and clickable table of contents

{99F3795E-DB3D-4197-A14B-DC068C25989F}
C4 Architecture diagrams with zoom controls and fullscreen mode

{F89EA26C-2E77-46E0-B8C7-C4FF18B263E9}
Fullscreen diagram view with 400% zoom for detailed inspection

{55AD4147-7F6E-4A92-BE1F-A1CEC80A792D}
Technical documentation with code blocks and embedded diagrams

{83B531B5-DD75-4850-B41E-BC7AE01EF82B}
Split view for editing two documents simultaneously

{118A90EF-97EE-463F-8C2E-63F06D69D75D}
Compare documents side by side with line-level diff highlighting

{CD31C3AF-C82A-4984-AB34-7B033CC035AD}
View all changes made since last save with additions and deletions

{454ECDFD-CE4B-4AA8-8A37-B972419B7ABB}
Toggle between visual and Markdown code view with cursor tracking

{E3861707-CF03-4497-874E-AC88EE2FB29B}
Quick reference for all keyboard shortcuts (Ctrl+/)

{766E35F6-7699-426A-9BC9-8ED46FEA249F}
AI token counter with model selection (GPT, Claude, Gemini)

{A9692CF1-B62D-4B3B-B27B-D561D689DFE7}
Multiple windows with cross-window tab drag and drop


Installation

Download

Download the latest version from the Releases page.

Platform Download
Windows .exe / .msi installer
macOS .dmg (universal: Apple Silicon + Intel)
Linux .deb / .AppImage

System Requirements

  • Windows: Windows 10 or later (64-bit)
  • macOS: macOS 10.15 (Catalina) or later
  • Linux: Ubuntu 22.04+ or equivalent (WebKitGTK 4.1 required)

Usage

Basic Editing

  1. Open a file: Ctrl+O (or Cmd+O on macOS)
  2. Save: Ctrl+S (saves as Markdown)
  3. Save As: Ctrl+Shift+S
  4. Export to PDF: Click the PDF button in toolbar

Keyboard Shortcuts

Action Shortcut
New file Ctrl+N
Open file Ctrl+O
Save Ctrl+S
Save As Ctrl+Shift+S
Export PDF Ctrl+P
Undo Ctrl+Z
Redo Ctrl+Y
Bold Ctrl+B
Italic Ctrl+I
Show changes Ctrl+Shift+D
Compare tabs Ctrl+Shift+C
Keyboard shortcuts Ctrl+/
Close modal Escape

Creating Mermaid Diagrams

Click the Mermaid button in the toolbar or type:

```mermaid
graph LR
    A[Start] --> B[Process]
    B --> C[End]
```

This creates a flowchart:

[Start] --> [Process] --> [End]

Supported Diagram Types

  • graph / flowchart - Flow diagrams
  • sequenceDiagram - Sequence diagrams
  • classDiagram - Class diagrams
  • stateDiagram-v2 - State diagrams
  • erDiagram - Entity Relationship diagrams
  • gantt - Gantt charts
  • pie - Pie charts
  • journey - User journey diagrams
  • gitgraph - Git graphs
  • mindmap - Mind maps
  • timeline - Timelines

Development

Prerequisites

Setup

# Clone the repository
git clone https://github.com/Vesperino/MerMarkEditor.git
cd MerMarkEditor

# Install dependencies
pnpm install

# Run in development mode
pnpm tauri dev

# Build for production
pnpm tauri build

Running Tests

# Run tests
pnpm test

# Run tests once
pnpm test:run

Tech Stack

  • Frontend: Vue 3 + TypeScript
  • Editor: TipTap (ProseMirror-based)
  • Diagrams: Mermaid.js
  • Desktop: Tauri 2.0
  • Build: Vite

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

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


Acknowledgments

  • Codycody31 - Huge thanks for macOS and Linux support!
  • TipTap - Headless editor framework
  • Mermaid - Diagramming and charting tool
  • Tauri - Desktop application framework
  • Vue.js - Progressive JavaScript framework

Support

If you find this project useful, please consider:

  • Giving it a star on GitHub
  • Reporting bugs and suggesting features
  • Contributing to the codebase

Made with ❤️ by Vesperino

About

Elegant and simple Markdown, Mermaid editor

Resources

License

Stars

Watchers

Forks

Packages