Skip to content

Commit 3a01e1e

Browse files
authored
Fix rendering issue in "Langium's workflow" flowchart (#258)
Updated the steps in the workflow flowchart to use non-breaking spaces to prevent recognition of markdown numbered lists which is not supported by mermaid. Replaced `\n` with `<br/>` in the mermaid flowchart diagram to ensure proper line breaks in the rendered HTML.
1 parent a0ce655 commit 3a01e1e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

hugo/content/docs/learn/workflow/_index.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ Be aware of the fact that the possibilities go beyond this simple workflow. For
1111

1212
{{<mermaid>}}
1313
flowchart TD
14-
A(["1. Install Yeoman"]);
15-
B(["2. Scaffold a Langium project"]);
16-
C(["3. Write the grammar"]);
17-
D(["4. Generate the AST"]);
18-
E(["5. Resolve cross-references"]);
19-
F(["6. Create validations"]);
20-
G(["7. Generate artifacts"]);
14+
A(["1.&nbsp;Install Yeoman"]);
15+
B(["2.&nbsp;Scaffold a Langium project"]);
16+
C(["3.&nbsp;Write the grammar"]);
17+
D(["4.&nbsp;Generate the AST"]);
18+
E(["5.&nbsp;Resolve cross-references"]);
19+
F(["6.&nbsp;Create validations"]);
20+
G(["7.&nbsp;Generate artifacts"]);
2121
H(["Find advanced topics"]);
2222
A --> B --> C --> D --> E --> F --> G ~~~ H;
23-
G -- for each additional\ngrammar change --> C;
23+
G -- for each additional<br/>grammar change --> C;
2424

2525
click A "/docs/learn/workflow/install"
2626
click B "/docs/learn/workflow/scaffold"

0 commit comments

Comments
 (0)