refac: pdf export

This commit is contained in:
Timothy Jaeryang Baek committed 2025-08-26 17:34:33 +04:00
1 parent 07357afcf6
commit d3a952877a
11 files changed
+86 -165

No files matched your search

@@ -38,6 +38,7 @@
export let isFirstMessage: boolean;
export let readOnly: boolean;
export let editCodeBlock = true;
export let topPadding = false;
let showDeleteConfirm = false;
@@ -332,7 +333,12 @@
: ' w-full'} {$settings.chatDirection === 'RTL' ? 'text-right' : ''}"
>
{#if message.content}
<Markdown id={`${chatId}-${message.id}`} content={message.content} {topPadding} />
<Markdown
id={`${chatId}-${message.id}`}
content={message.content}
{editCodeBlock}
{topPadding}
/>
{/if}
</div>
</div>