Merge pull request #1939 from dwinston/patch-1

Document role of semicolon and present alternative
This commit is contained in:
Knut Sveidqvist 2021-03-18 21:02:30 +01:00 committed by GitHub
commit c8d4c798ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -364,6 +364,8 @@ sequenceDiagram
Numbers given are base 10, so `#` can be encoded as `#35;`. It is also supported to use HTML character names.
Because semicolons can be used instead of line breaks to define the markup, you need to use `#59;` to include a semicolon in message text.
## sequenceNumbers
It is possible to get a sequence number attached to each arrow in a sequence diagram. This can be configured when adding mermaid to the website as shown below: