diff --git a/cSpell.json b/cSpell.json
index bd306f411..24650024e 100644
--- a/cSpell.json
+++ b/cSpell.json
@@ -59,6 +59,7 @@
"knsv",
"knut",
"laganeckas",
+ "linetype",
"lintstagedrc",
"logmsg",
"lucida",
diff --git a/cypress/integration/rendering/sequencediagram.spec.js b/cypress/integration/rendering/sequencediagram.spec.js
index 687fc245b..e5459637b 100644
--- a/cypress/integration/rendering/sequencediagram.spec.js
+++ b/cypress/integration/rendering/sequencediagram.spec.js
@@ -123,6 +123,29 @@ context('Sequence diagram', () => {
}
);
});
+ it('should render a sequence diagram with par_over', () => {
+ imgSnapshotTest(
+ `
+ sequenceDiagram
+ participant Alice
+ participant Bob
+ participant John
+ par_over Section title
+ Alice ->> Bob: Message 1
Second line
+ Bob ->> John: Message 2
+ end
+ par_over Two line
section title
+ Note over Alice: Alice note
+ Note over Bob: Bob note
Second line
+ Note over John: John note
+ end
+ par_over Mixed section
+ Alice ->> Bob: Message 1
+ Note left of Bob: Alice/Bob Note
+ end
+ `
+ );
+ });
context('font settings', () => {
it('should render different note fonts when configured', () => {
imgSnapshotTest(
diff --git a/demos/sequence.html b/demos/sequence.html
index aa2332520..b2733a384 100644
--- a/demos/sequence.html
+++ b/demos/sequence.html
@@ -144,6 +144,26 @@
>
+ sequenceDiagram + participant Alice + participant Bob + participant John + par_over Section title + Alice ->> Bob: Message 1+
Second line + Bob ->> John: Message 2 + end + par_over Two line
section title + Note over Alice: Alice note + Note over Bob: Bob note
Second line + Note over John: John note + end + par_over Mixed section + Alice ->> Bob: Message 1 + Note left of Bob: Alice/Bob Note + end +