Jump to content

Template:Mermaid

From NixOS Wiki

Template Documentation [edit source| uses| help]

This template is used to display Mermaid charts. For more information about the Mermaid syntax, see the Mermaid reference documentation.

Create a template
Save your edit
Notice a syntax error
Edit your template

Usage

Simply include this template on a page, specifying the type of chart as the first argument, and supplying the content of the chart as its second argument:

{{mermaid|flowchart LR|
  C[Create a template]
  S[Save your edit]
  N[Notice a syntax error]
  E[Edit your template]
  C --> S
  S --> N
  N --> E
  E --> S
}}