feat: enable markdown rendering for user messages
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 57s
CI / Lint & Test (pull_request) Successful in 16m11s
CI / Build Linux (pull_request) Successful in 21m3s
CI / Build Windows (cross-compile) (pull_request) Successful in 35m45s

Apply the existing Markdown component to user messages in the Terminal,
giving users the same rich formatting capabilities as agent messages.
This includes support for code blocks with syntax highlighting, inline
code, lists, links, tables, and our custom spoiler syntax.
This commit is contained in:
2026-01-28 11:27:57 -08:00
parent 2bb541fba6
commit 750636e1f4
+1 -1
View File
@@ -193,7 +193,7 @@
{#if line.toolName}
<span class="terminal-tool-name mr-2">[{line.toolName}]</span>
{/if}
{#if line.type === "assistant"}
{#if line.type === "assistant" || line.type === "user"}
<Markdown
content={maskPaths(line.content, hidePaths)}
searchQuery={currentSearchQuery}