Mermaid diagram shows literal \n instead of line break
What page or section of the docs have an issue? https://wezterm.org/what-is-a-terminal.html#shell
Describe the issue In the Mermaid diagram on the page, the labels appear as input\noutput. I understand this is probably intended to render as a newline, but Mermaid does not interpret \n inside graph labels, so the diagram shows the literal text rather than a line break.
Suggested fixes Either of the following would render correctly:
- Replace
input\noutputwithinput/output - Replace
input\noutputwithinput<br/>output
For consistency, the first option may be preferable—later in the documentation it already uses the input/output wording:
I’m happy to submit a pull request to fix this as my first contribution — please let me know if the maintainers prefer one option over the other.
Nice find, yes feel free to open a PR