Mermaid Diagrams in Confluence
Confluence doesn't render Mermaid natively, but several marketplace apps add support. The most popular is the 'Mermaid Diagrams for Confluence' app. Alternatively, export diagrams as SVG/PNG from our editor and embed them.
Step-by-Step Guide
Option 1: Install a Mermaid app from the Marketplace
Go to Confluence Settings > Find new apps > Search 'Mermaid'. Install 'Mermaid Diagrams for Confluence' or a similar app. This adds a Mermaid macro you can use in any page.
Option 2: Use the Mermaid macro
After installing the app, type /mermaid in the page editor to insert a Mermaid block. Paste your diagram code and it renders inline on the page.
flowchart TD
A[Requirements] --> B[Design]
B --> C[Implementation]
C --> D[Testing]
D --> E[Deployment]Option 3: Embed as image (no plugin needed)
Design your diagram in our editor, export as SVG or PNG, and embed the image in Confluence using the Image macro. This works without any plugins but diagrams aren't editable in Confluence.
Keep diagrams in sync
For living documentation, use the Mermaid macro so diagrams are editable. For static architecture docs, export from our editor for higher quality with custom themes.
Tips
- •Mermaid apps may require Confluence admin approval for installation
- •Some Mermaid apps are free, others are paid — check pricing before committing
- •SVG embeds scale better than PNG in Confluence's responsive layout
- •For team-wide use, document the Mermaid syntax in a shared Confluence template
Design Your Diagram First
Use our editor with live preview, autocomplete, and theming — then copy-paste into Confluence.
Open Editor