diff --git a/docs/syntax/sequenceDiagram.md b/docs/syntax/sequenceDiagram.md index af234f6088..181693938d 100644 --- a/docs/syntax/sequenceDiagram.md +++ b/docs/syntax/sequenceDiagram.md @@ -583,6 +583,12 @@ sequenceDiagram It is possible to highlight flows by providing colored background rects. This is done by the notation +``` +rect COLOR +... content ... +end +``` + The colors are defined using rgb and rgba syntax. ``` diff --git a/packages/mermaid/src/docs/syntax/sequenceDiagram.md b/packages/mermaid/src/docs/syntax/sequenceDiagram.md index 77db895142..16ce8d7e26 100644 --- a/packages/mermaid/src/docs/syntax/sequenceDiagram.md +++ b/packages/mermaid/src/docs/syntax/sequenceDiagram.md @@ -397,6 +397,12 @@ sequenceDiagram It is possible to highlight flows by providing colored background rects. This is done by the notation +``` +rect COLOR +... content ... +end +``` + The colors are defined using rgb and rgba syntax. ```