From 2bf866052d9543a41e1ffe3f38f3465d8f470644 Mon Sep 17 00:00:00 2001 From: Donny Winston Date: Thu, 11 Mar 2021 13:33:07 -0500 Subject: [PATCH] Document role of semicolon and present alternative This could perhaps close #1445 --- docs/sequenceDiagram.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/sequenceDiagram.md b/docs/sequenceDiagram.md index c1b15a9ce..96bf951da 100644 --- a/docs/sequenceDiagram.md +++ b/docs/sequenceDiagram.md @@ -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: