mirror of
https://github.com/run-llama/chat-ui.git
synced 2026-07-21 03:15:21 -04:00
Support for mermaid.js #15
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @chiradeepv on GitHub (May 7, 2025).
Currently when the LLM generates mermaid markup, the CodeBlock is unable to process it
WARN: Could not find the language 'mermaid', did you forget to load/include a language module?
core.js:985 WARN: Falling back to no-highlight mode for this block. <code class="language-mermaid rounded-lg border border-none font-mono">…
there is support for mermaid rendering from https://mermaid.js.org/config/usage.html
Would like support for this.
@marcusschiesser commented on GitHub (May 12, 2025):
Good idea, want to send a PR?
@marcusschiesser commented on GitHub (May 29, 2025):
Thanks @chiradeepv !