wezterm icon indicating copy to clipboard operation
wezterm copied to clipboard

Mermaid diagram shows literal \n instead of line break

Open ab-dauletkhan opened this issue 2 months ago • 1 comments

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.

Image

Suggested fixes Either of the following would render correctly:

  1. Replace input\noutput with input/output
  2. Replace input\noutput with input<br/>output

For consistency, the first option may be preferable—later in the documentation it already uses the input/output wording:

Image

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.

ab-dauletkhan avatar Nov 15 '25 06:11 ab-dauletkhan

Nice find, yes feel free to open a PR

bew avatar Nov 15 '25 10:11 bew