Document role of semicolon and present alternative

This could perhaps close #1445
This commit is contained in:
Donny Winston 2021-03-11 13:33:07 -05:00 committed by GitHub
parent 10b002889c
commit 2bf866052d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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: