From ed3e1397ca33d9c7a0b2057be40dd1c47c8f89ad Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Sat, 5 Oct 2024 01:40:10 -0700 Subject: [PATCH] refac --- src/lib/components/chat/Messages/ResponseMessage.svelte | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/components/chat/Messages/ResponseMessage.svelte b/src/lib/components/chat/Messages/ResponseMessage.svelte index b7138ad73..51f6c2fdb 100644 --- a/src/lib/components/chat/Messages/ResponseMessage.svelte +++ b/src/lib/components/chat/Messages/ResponseMessage.svelte @@ -482,7 +482,10 @@ on:explain={(e) => { dispatch( 'submit', - `Can you explain this section to me in more detail?\n\n${e.detail}` + `Can you explain this section to me in more detail?\n\n` + + '```\n' + + e.detail + + '\n```' ); }} />