feat: enable rich text display for assistant messages

Add markdown-to-HTML rendering for assistant messages using Markdig with
HTML sanitization. Includes cached rendering to avoid lag during streaming,
styled markdown elements (code blocks, tables, lists, blockquotes) within
chat bubbles, and 18 unit tests covering rendering and XSS prevention.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
local
2026-04-05 01:29:58 +01:00
parent d3300c7db9
commit 7a5c22593a
14 changed files with 735 additions and 5 deletions

View File

@@ -0,0 +1,2 @@
schema: spec-driven
created: 2026-04-05