mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-25 11:16:53 +02:00
Escape the pipes in the syntax table
This commit is contained in:
@@ -61,10 +61,10 @@ Cardinality is a property that describes how many elements of another entity can
|
|||||||
|
|
||||||
| Value (left) | Value (right) | Meaning |
|
| Value (left) | Value (right) | Meaning |
|
||||||
|:------------:|:-------------:|--------------------------------------------------------|
|
|:------------:|:-------------:|--------------------------------------------------------|
|
||||||
| `|o` | `o|` | Zero or one |
|
| `\|o` | `o\|` | Zero or one |
|
||||||
| `||` | `||` | Exactly one |
|
| `\|\|` | `\|\|` | Exactly one |
|
||||||
| `}o` | `o{` | Zero or more (no upper limit) |
|
| `}o` | `o{` | Zero or more (no upper limit) |
|
||||||
| `}|` | `|{` | One or more (no upper limit) |
|
| `}\|` | `\|{ | One or more (no upper limit) |
|
||||||
|
|
||||||
### Identification
|
### Identification
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user