Get started with Mermaid Diagrams
In about 5 minutes you'll install Mermaid Diagrams and add your first diagram to a Confluence page or a Jira work item.
Before you beginβ
- To install the app, you need to be a Confluence admin or Jira admin (or a site admin). If you aren't one, ask your admin to install it, then start at Add your first diagram.
- To add a diagram, you need permission to edit the Confluence page, or the Edit work items permission in the Jira space.
Install the appβ
The Confluence and Jira apps are separate Marketplace listings. Install the one for each product you use:
- In Confluence or Jira, select Apps > Explore more apps.
- Search for Mermaid Diagrams, then select Apportunity: Mermaid Diagrams Macro for Confluence or Apportunity: Mermaid Diagrams for Jira.
- Select Get app (or Try it free) and follow the prompts.
When the installation finishes, the app works for everyone on the site. There is nothing to configure.
Add your first diagramβ
- Confluence
- Jira
-
Open a page and select Edit.
-
Type
/mermaidand select Mermaid Diagram. You can also select Insert (+) and search for Mermaid Diagram.
-
In the new macro, select Create diagram. The diagram editor opens.

-
Under Start your diagram, select Start from a snippet, pick a diagram such as Flowchart, and select Insert.
-
Change the code on the left. The preview on the right updates as you type.
-
Select Save and close, then publish the page.
-
Open a work item.
-
Under the summary, select View app actions (the apps icon) > Mermaid Diagrams. The Mermaid Diagrams panel is added to the work item, and the diagram editor opens.

-
Under Start your diagram, select Start from a snippet, pick a diagram such as Swimlane Process, and select Insert.
-
Change the code on the left. The preview on the right updates as you type.
-
Select Save and close.

Next stepsβ
- Edit a diagram: the editor, errors, display sizes and saving.
- Import diagrams: bring in diagrams from Mermaid Live,
.mmdfiles or Markdown. - Mermaid code in your content: draw the Mermaid code blocks already on your pages and work items.
- Use cases: ideas for architecture docs, process maps and release plans.