Sometimes we get output like the following in the generated wiki:
``
Unable to render rich display
Lexical error on line 2. Unrecognized text.
...e["@react-term/core\nCellGrid, Buffer,
-----------------------^
For more information, see https://docs.github.com/get-started/writing-on-github/working-with-advanced-formatting/creating-diagrams#creating-mermaid-diagrams
flowchart LR
core["@react-term/core\nCellGrid, Buffer, VTParser"] --> web
core --> native
web["@react-term/web\nWebTerminal, renderers, workers"] --> react
core --> react
react["@react-term/react\nTerminal, TerminalPane"]
native["@react-term/native\nNativeTerminal, SkiaRenderer"]
Perhaps we add a step in the agentic workflow that checks to make sure the generated wiki compiles with gollum, and fixes it if not?
Sometimes we get output like the following in the generated wiki:
``
Unable to render rich display
Lexical error on line 2. Unrecognized text.
...e["
@react-term/core\nCellGrid, Buffer,-----------------------^
For more information, see https://docs.github.com/get-started/writing-on-github/working-with-advanced-formatting/creating-diagrams#creating-mermaid-diagrams
flowchart LR
core["
@react-term/core\nCellGrid, Buffer, VTParser"] --> webcore --> native
web["
@react-term/web\nWebTerminal, renderers, workers"] --> reactcore --> react
react["
@react-term/react\nTerminal, TerminalPane"]native["
@react-term/native\nNativeTerminal, SkiaRenderer"]