You can use Mermaid syntax to create diagrams. Mermaid is a Markdown-inspired tool that renders text into diagrams. For example, Mermaid can render flow charts, sequence diagrams, pie charts and more. For more information, see the Mermaid documentation.
To create a Mermaid diagram, add Mermaid syntax inside a fenced code block with the mermaid
language identifier. For more information about creating code blocks, see "Creating and highlighting code blocks."
For example, you can create a flow chart:
Here is a simple flow chart: ```mermaid graph TD; A-->B; A-->C; B-->D; C-->D; ```
Note: You may observe errors if you run a third-party Mermaid plugin when using Mermaid syntax on GitHub.