Skip to content

Mermaid flowchart node multiline text is not rendered correctly in the documentation #18123

@tspascoal

Description

@tspascoal

In docs/src/content/docs/reference/compilation-process.md the rendering of the mermaid flowchart in the section Why Detection, Safe Outputs, and Conclusion Are Separate Jobs is not rendering correctly. The \n are not resulting in new lines and each box has text rendering in a single line with \n visible as well instead of a multi line block

Image

Plan

Fix the flowchart mermaid diagram so new lines are rendered correctly as multi line text
Run a docs-wide sweep for the same pattern, but only inside Mermaid code fences and node labels, then fix all matches found in the same way.
ONLY FIX issues with flowcharts

Validation

Validation

Static check: search docs for remaining Mermaid label literals \n after edits (no matches should remain for that pattern).
Build check: run docs build from scripts in to ensure no markdown/mermaid pipeline errors.
Visual check: open the compilation process page locally and verify the diagram in shows multi-line labels (not raw \n text).
Regression check: quickly spot-check at least one other Mermaid diagram page to confirm rendering is still correct.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions