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 () => {
if (content) {
tokens = marked.lexer(
replaceTokens(processResponseContent(content), sourceIds, model?.name, $user?.name),
{
gfm: true
}
replaceTokens(processResponseContent(content), sourceIds, model?.name, $user?.name)
);
}
})();

View File

@ -238,11 +238,6 @@
{/each}
</ul>
{/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'}
<Collapsible title={token.summary} attributes={token?.attributes} className="w-full space-y-1">
<div class=" mb-1.5" slot="content">