Skip to main content

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:

  1. In Confluence or Jira, select Apps > Explore more apps.
  2. Search for Mermaid Diagrams, then select Apportunity: Mermaid Diagrams Macro for Confluence or Apportunity: Mermaid Diagrams for Jira.
  3. 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​

  1. Open a page and select Edit.

  2. Type /mermaid and select Mermaid Diagram. You can also select Insert (+) and search for Mermaid Diagram.

    The /mermaid command in the Confluence editor, offering the Mermaid Diagram macro

  3. In the new macro, select Create diagram. The diagram editor opens.

    An empty Mermaid Diagram macro with the Create diagram button

  4. Under Start your diagram, select Start from a snippet, pick a diagram such as Flowchart, and select Insert.

  5. Change the code on the left. The preview on the right updates as you type.

  6. Select Save and close, then publish the page.

Next steps​