Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

The demo shown below is was taken from the official Mermaid documentation here.

Confluence mermaid macro
searchTexterDiagram CUSTOMER ORDER places ORDER LINE ITEM contains CUSTOMER DELIVERY ADDRESS uses
downloadtrue
fullscreentrue
panZoomtrue
zoom
themedefault
disableUseMaxWidth
copytrue
exportWidth
height
erDiagram
    CUSTOMER ||--o{ ORDER : places
    ORDER ||--|{ LINE-ITEM : contains
    CUSTOMER }|..|{ DELIVERY-ADDRESS : uses

Textual representation

...

Confluence prism macro
lineNumberstrue
showPreviews
downloadFilenameErDiagram.mmd
showInvisibles
lineHighlight
languageMermaid
lineNumbersStart
dialogTitleEntity relationship diagram
limitHeight
height
clickableLinks
erDiagram
    CUSTOMER ||--o{ ORDER : places
    ORDER ||--|{ LINE-ITEM : contains
    CUSTOMER }|..|{ DELIVERY-ADDRESS : uses

The code above is rendered by "Prism Syntax Highlighter for Confluence" which supports highlighting Mermaid syntax.

👉 Check out the official Mermaid documentation here https://mermaid-.js.github.io/mermaid/#org/syntax/entityRelationshipDiagram.html.