Does Confluence Support Mermaid? Setup Guide & Diagram Types
· 4 min read
No, Confluence does not support Mermaid diagrams natively. There is no built-in macro or feature that renders Mermaid syntax in Confluence pages. To add Mermaid diagrams to Confluence, you need a Marketplace app.
This guide covers how to set up Mermaid in Confluence and which diagram types you can create.
How to add Mermaid to Confluence
Mermaid Plus for Confluence adds a full Mermaid diagram editor to Confluence. It supports 26+ diagram types with a live preview, built-in templates, and multiple themes.
Installation
- Go to Mermaid Plus for Confluence on the Atlassian Marketplace
- Click Get it now — the app installs into your Confluence Cloud instance
- Mermaid Plus is free for up to 10 users
Creating your first diagram
- Open a Confluence page in edit mode
- Type
/mermaidand select Mermaid Plus from the macro dropdown - The macro opens a split-pane editor with a code editor on the left and live preview on the right
- Paste or write your Mermaid syntax — the preview updates in real time
- Click Save on the macro, then publish the page
Mermaid diagram types supported in Confluence
Mermaid Plus supports 26+ diagram types. Here are the most popular ones:
Flowcharts
flowchart TD
A[Start] --> B{Decision}
B -->|Yes| C[Action 1]
B -->|No| D[Action 2]
C --> E[End]
D --> E
Read the full tutorial: Create flowcharts in Confluence.
Sequence diagrams
sequenceDiagram
Client->>API: POST /login
API->>Auth: Validate credentials
Auth-->>API: Token
API-->>Client: 200 OK + Token
Class diagrams
classDiagram
class User {
+String name
+String email
+login()
}
class Order {
+Date created
+Float total
+checkout()
}
User --> Order : places
ER diagrams
erDiagram
CUSTOMER ||--o{ ORDER : places
ORDER ||--|{ LINE-ITEM : contains
CUSTOMER {
string name
string email
}
ORDER {
date created
float total
}
Gantt charts
gantt
title Project Timeline
section Phase 1
Research :a1, 2026-01-01, 30d
Design :a2, after a1, 20d
section Phase 2
Development :a3, after a2, 45d
Testing :a4, after a3, 15d
Mindmaps
mindmap
root((Confluence))
Diagrams
Flowcharts
Sequence
Class
Documents
Markdown
Code Blocks
More diagram types
| Category | Diagram Types |
|---|---|
| Structured | Flowchart, Sequence, Class, State, ER |
| Planning | Gantt, Timeline, Requirement |
| Charts | Pie, XYChart, Blockbench |
| Visual | Mindmap, Quadrant |
| Technical | GitGraph, C4, Architecture |
| Other | Journey, Sankey,radar |
See all 26+ types: Mermaid diagram types FAQ.
Mermaid Plus features
- Live preview — see your diagram render as you type
- Template library — one-click templates for every diagram type
- Multiple themes — default, dark, forest, neutral
- Export — download diagrams as PNG or SVG
- Auto-resize — diagrams scale to fit the page width
Alternatives to Mermaid in Confluence
| App | Input Method | Best For |
|---|---|---|
| Mermaid Plus | Text (Mermaid syntax) | Structured diagrams, documentation |
| Excalidraw Plus | Visual (drag & drop) | Freeform drawing, wireframes |
| Graphviz Charts | Text (DOT language) | Network graphs, dependency trees |
Read the full comparison: Confluence diagram tools compared.