fix: render tilde-fenced code blocks as code blocks (#31543)

This commit is contained in:
G30 2026-09-30 11:25:01 -04:00 • committed by GitHub
parent 288bf91f73
commit 5338aeca89
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -190,7 +190,7 @@
/>
</svelte:element>
{:else if token.type === 'code'}
{#if token.raw.includes('```')}
{#if token.codeBlockStyle !== 'indented'}
<CodeBlock
id={`${id}-${tokenIdx}`}
collapsed={$settings?.collapseCodeBlocks ?? false}