refac: latex
This commit is contained in:
1 parent
0ec1f9e331
commit
6aefc79807
3 files changed
+120
-70
No files matched your search
@@ -116,6 +116,13 @@
|
||||
displayMode={token?.displayMode ?? false}
|
||||
/>
|
||||
{/if}
|
||||
{:else if token.type === 'blockKatex'}
|
||||
{#if token.text}
|
||||
<KatexRenderer
|
||||
content={revertSanitizedResponseContent(token.text)}
|
||||
displayMode={token?.displayMode ?? false}
|
||||
/>
|
||||
{/if}
|
||||
{:else if token.type === 'space'}
|
||||
{''}
|
||||
{:else}
|
||||
|
||||
Reference in new issue
Block a user