This commit is contained in:
Timothy Jaeryang Baek 2025-02-13 22:57:12 -08:00
parent 304aed0f13
commit 99b50b39fe
2 changed files with 1 additions and 9 deletions

View File

@ -33,10 +33,7 @@
$: (async () => { $: (async () => {
if (content) { if (content) {
tokens = marked.lexer( tokens = marked.lexer(
replaceTokens(processResponseContent(content), sourceIds, model?.name, $user?.name), replaceTokens(processResponseContent(content), sourceIds, model?.name, $user?.name)
{
gfm: true
}
); );
} }
})(); })();

View File

@ -238,11 +238,6 @@
{/each} {/each}
</ul> </ul>
{/if} {/if}
{:else if token.type === 'list_item'}
{JSON.stringify(token)}
<p>
<MarkdownInlineTokens id={`${id}-${tokenIdx}-li`} tokens={token.tokens} {onSourceClick} />
</p>
{:else if token.type === 'details'} {:else if token.type === 'details'}
<Collapsible title={token.summary} attributes={token?.attributes} className="w-full space-y-1"> <Collapsible title={token.summary} attributes={token?.attributes} className="w-full space-y-1">
<div class=" mb-1.5" slot="content"> <div class=" mb-1.5" slot="content">