Support for mermaid.js #15

Closed
opened 2026-02-16 02:17:41 -05:00 by yindo · 2 comments
Owner

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.

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">​…​</code>​ there is support for mermaid rendering from https://mermaid.js.org/config/usage.html Would like support for this.
yindo closed this issue 2026-02-16 02:17:42 -05:00
Author
Owner

@marcusschiesser commented on GitHub (May 12, 2025):

Good idea, want to send a PR?

@marcusschiesser commented on GitHub (May 12, 2025): Good idea, want to send a PR?
Author
Owner

@marcusschiesser commented on GitHub (May 29, 2025):

Thanks @chiradeepv !

@marcusschiesser commented on GitHub (May 29, 2025): Thanks @chiradeepv !
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/chat-ui#15