Update packages/mermaid/src/docs/syntax/flowchart.md

Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com>
This commit is contained in:
Steph
2023-05-01 23:04:04 -07:00
committed by GitHub
parent be69f494b7
commit b30e9620f4

View File

@@ -7,7 +7,9 @@ outline: 'deep' # shows all h3 headings in outline in Vitepress
Flowcharts are composed of **nodes** (geometric shapes) and **edges** (arrows or lines). The Mermaid code defines how nodes and edges are made and accommodates different arrow types, multi-directional arrows, and any linking to and from subgraphs.
> **Important**: If you are using the word "end" in a Flowchart node, capitalize the entire word or any of the letters (e.g., "End" or "END"), or apply this [workaround](https://github.com/mermaid-js/mermaid/issues/1444#issuecomment-639528897). Typing "end" in all lowercase letters will break the Flowchart.
```warning
If you are using the word "end" in a Flowchart node, capitalize the entire word or any of the letters (e.g., "End" or "END"), or apply this [workaround](https://github.com/mermaid-js/mermaid/issues/1444#issuecomment-639528897). Typing "end" in all lowercase letters will break the Flowchart.
\``` Remove the \ here. Suggestion didn't include the ending triplequote.
### A node (default)