enh: always collapse code block

This commit is contained in:
Timothy Jaeryang Baek
2025-03-15 02:01:59 +00:00
parent dbf051ff4e
commit 7723705707
3 changed files with 33 additions and 3 deletions
@@ -85,6 +85,7 @@
{#if token.raw.includes('```')}
<CodeBlock
id={`${id}-${tokenIdx}`}
collapsed={$settings?.collapseCodeBlocks ?? false}
{token}
lang={token?.lang ?? ''}
code={token?.text ?? ''}