generated from nhcarrigan/template
feat: enable markdown rendering for user messages
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:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user