AptoCompass Logo
Apto Compass

Markdown Editor & Live Preview with Diagrams

Write, format, and preview GitHub Flavored Markdown (GFM) with live split-screen rendering, built-in Mermaid diagram vector graphics, synchronized scrolling, and HTML/PDF export.

Real-Time Markdown & Diagram Studio ⚡

A high-performance editorial workspace with live split-screen preview, Mermaid vector diagram rendering, and instant HTML/PDF export.


📊 Live Architecture Flowchart

flowchart TD Client([🌐 Client Web Browser]) --> Wasm[Local WebAssembly Engine] Wasm --> MarkedCompiler[Marked.js Markdown Parser] Wasm --> MermaidEngine[Mermaid Vector Graphics Engine] MarkedCompiler --> HTMLDOM[Structured Document DOM] MermaidEngine --> SVGDOM[Interactive Vector SVG] HTMLDOM --> LivePreview([🚀 Real-Time Split Preview]) SVGDOM --> LivePreview

🔄 Live Sequence Diagram

sequenceDiagram autonumber actor Developer participant Editor as Markdown Editor participant Engine as Mermaid Renderer participant Preview as Split Preview Pane Developer->>Editor: Types diagram syntax (flowchart, sequence, pie) Editor->>Engine: Debounced SVG Compilation (150ms) Engine-->>Preview: Inject High-DPI Vector Graphic Preview-->>Developer: Instant Interactive Visual Feedback

🚀 Key Feature Matrix

Feature Standard Editors AptoCompass Split Studio
Mermaid Graphs ❌ None (Plugin Required) ✅ Built-in Native Vector Engine
Scroll Sync ❌ Manual Alignment ✅ Proportional Auto-Scroll
Diagram Types ❌ Plain Text Only ✅ Flowcharts, Sequence, Pie, State, ERD, Git
Privacy Guarantee ⚠️ Often Cloud Parsed ✅ 100% In-Browser Memory (0 Bytes Sent)
Export Formats .md only .md, Standalone Styled .html, PDF Print

🥧 Foundation Model Adoption (2026)

pie title Market Share of 2026 Frontier Models "Claude Sonnet 5" : 38 "GPT-6 Astra" : 32 "Gemini 3.8 Flash" : 18 "DeepSeek V4.1" : 12

📋 Task Checklist

  • Initial CommonMark and GFM compliance
  • Native Mermaid vector graph integration
  • Proportional synchronized scrolling
  • Export directly to styled standalone HTML document

[!TIP]
Click the "Insert Diagram" dropdown in the toolbar above to immediately insert Flowcharts, Sequence Diagrams, State Machines, Class Diagrams, or Git Graphs!

Words: 313Characters: 2,235Lines: 72
Reading Time: 2 min

Markdown & Mermaid Diagrams: The Modern Technical Documentation Standard

Technical documentation has evolved beyond static plaintext. Modern engineering teams require documentation that smoothly embeds interactive system architecture flowcharts, API request lifecycle sequences, state machines, and database entity models directly alongside written prose.

Supported Mermaid Graph Types

Diagram CategorySyntax DeclarationIdeal Engineering Application
Flowchartflowchart TD / LRSystem pipelines, decision trees, microservice gateways
Sequence DiagramsequenceDiagramOAuth2 authorization handshakes, API endpoints, async jobs
Pie Chartpie title ...Token usage benchmarks, market share, storage allocations
State MachinestateDiagram-v2Lifecycle states, order fulfillment, deployment workflows
Class DiagramclassDiagramObject-oriented software architecture and inheritance trees
Entity-RelationshiperDiagramPostgreSQL/MySQL relational schema and foreign keys
Git GraphgitGraphGit branching models, trunk-based releases, PR merges

How to Embed Mermaid Graphs in Markdown

Creating a diagram is as simple as creating a fenced code block with the mermaid language tag:

```mermaid
flowchart LR
    A[Inbound Webhook] --> B(Validation Layer)
    B --> C{Signature Valid?}
    C -- Yes --> D[Persist to Database]
    C -- No --> E[Drop & Log Security Alert]
```

The built-in vector engine compiles this syntax into an SVG graphic in real time, complete with crisp font rendering and responsive vector scaling.

Frequently Asked Questions

Related Tools