This commit is contained in:
Timothy Jaeryang Baek committed 2026-04-12 16:56:00 -05:00
1 parent 008f1dfbda
commit 15b89b9218
2 files changed
+52 -1

No files matched your search

@@ -109,7 +109,7 @@
<del><svelte:self id={`${id}-del`} tokens={token.tokens} {onSourceClick} /></del>
{:else if token.type === 'inlineKatex'}
{#if token.text}
<KatexRenderer content={token.text} displayMode={false} />
<KatexRenderer content={token.text} displayMode={token?.displayMode ?? false} />
{/if}
{:else if token.type === 'iframe'}
<iframe