spelling: markdown

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref
2025-04-17 08:07:13 -04:00
parent 566415c189
commit 2601ec89c8

View File

@@ -12,7 +12,7 @@ describe('parsing a flow chart with markdown strings', function () {
flow.parser.yy.clear();
});
it('mardown formatting in nodes and labels', function () {
it('markdown formatting in nodes and labels', function () {
const res = flow.parser.parse(`flowchart
A["\`The cat in **the** hat\`"]-- "\`The *bat* in the chat\`" -->B["The dog in the hog"] -- "The rat in the mat" -->C;`);
@@ -37,7 +37,7 @@ A["\`The cat in **the** hat\`"]-- "\`The *bat* in the chat\`" -->B["The dog in t
expect(edges[1].text).toBe('The rat in the mat');
expect(edges[1].labelType).toBe('string');
});
it('mardown formatting in subgraphs', function () {
it('markdown formatting in subgraphs', function () {
const res = flow.parser.parse(`flowchart LR
subgraph "One"
a("\`The **cat**