Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 28 Next »

Confluence Cloud

Please check out our YouTube video or our Live Demo to get an idea about how Mermaid Charts & Diagrams for Confluence works.

Installation

As any app for Confluence Cloud, you can install the app via the Confluence admin menu.

  1. Log into your Confluence instance as an admin.

  2. Click on “Apps > Manage apps” in the header menu.

  3. Click on “Find new apps” on the right navigation.

  4. Search for “Mermaid Charts & Diagrams for Confluence” and select it.

  5. Click on “Try it free” to install the app.

Usage

Mermaid Charts & Diagrams for Confluence provides two macros called “Mermaid diagram” and "Mermaid diagram (Remote)" that can be added to any Confluence page. Both macros can be added by clicking the “Insert” / “+” Button in the edit mode and selecting respective macro.

The macro “Mermaid diagram” allows you to define the textual description (referred as Mermaid code) of the chart or diagram you would like to show on the Confluence page whereas "Mermaid diagram (Remote)" enables you to load the Mermaid code from a remote location / URL or a Mermaid Live Editor URL. More information regarding the textual representation can be found in the official documentation of the Mermaid library the Confluence app is based on.

Moreover, both macros support the following customizing options:

  • Theme: Option to define how the diagram should be rendered (using “Default” automatically renders the diagram based on the users' current Confluence theme)

  • Allow download: Add a button to download the Mermaid diagram as image (PNG or SVG)

  • Allow fullscreen: Add a button to show the Mermaid diagram in a fullscreen dialog

  • Do not shrink to fit available width: Set Mermaid option “useMaxWidth: false” if available for the diagram type

  • Height: Height in pixel that are used to render the macro (leave blank to use as much height as the diagram needs)

  • Zoom: Optional zoom factor to resize the rendered diagram (between 1 and 100)

  • Export width: Optional width for the Confluence PDF export in percentage (between 1 and 100)

The “Mermaid diagram” macro editor looks as follows:

The “Mermaid diagram (Remote)” macro editor looks as follows:

Use the option “Server side” to load remote content from the server side to overcome CORS issues.

Confluence Data Center & Confluence Server

Please check out our YouTube video to get an idea about how Mermaid Charts & Diagrams for Confluence works.

Installation

As any app for Confluence Server or Confluence Data Center, you can install the app via the Confluence admin menu.

  1. Log into your Confluence instance as an admin.

  2. Click on “Administration (cog icon) > Manage apps” in the header menu.

  3. Click on “Find new apps” in the navigation.

  4. Search for “Mermaid Charts & Diagrams for Confluence” and select it.

  5. Click on “Try trial” to install the app.

Usage

Mermaid Charts & Diagrams for Confluence provides a macro called “Mermaid Diagram” that can be added to any Confluence page. The macro can be added by clicking the “+” Button in the edit mode and selecting the macro.

The Mermaid code can be added as macro body and the macro is rendered after publishing /updating the page.

  • No labels