This commit is contained in:
Timothy Jaeryang Baek
2026-04-12 16:56:00 -05:00
parent 008f1dfbda
commit 15b89b9218
2 changed files with 52 additions and 1 deletions
@@ -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