Apply non-markdown label change for subgroups

This commit is contained in:
Anthony Juckel
2025-03-04 22:12:03 -06:00
committed by Anthony Juckel
parent 37269b47b5
commit 44a6434e59
3 changed files with 37 additions and 5 deletions

View File

@@ -993,4 +993,29 @@ flowchart TB
}
);
});
it('69: should render subgraphs with adhoc list headings', () => {
imgSnapshotTest(
`
graph TB
subgraph "1. first"
a1-->a2
end
subgraph 2. second
b1-->b2
end
`,
{ fontFamily: 'courier' }
);
});
it('70: should render subgraphs with markdown headings', () => {
imgSnapshotTest(
`
graph TB
subgraph "\`**strong**\`"
a1-->a2
end
`,
{ fontFamily: 'courier' }
);
});
});