Commit c3262bc
feat: add mermaid diagram rendering in markdown code blocks
Mermaid code blocks (```mermaid) now render as inline SVG diagrams
instead of raw text. Falls back to a regular code block on parse errors
or while streaming.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 4134794 commit c3262bc
4 files changed
Lines changed: 1283 additions & 171 deletions
File tree
- src/lib/components/chat
0 commit comments