Timothy J. Baek 7 months ago
parent
commit
ed3e1397ca
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/lib/components/chat/Messages/ResponseMessage.svelte

+ 4 - 1
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```'
 											);
 										}}
 									/>