fix: table align markdown rendering

This commit is contained in:
Timothy Jaeryang Baek 2025-07-09 23:39:54 +04:00
parent 45d58e73a9
commit 24f0da172e

View file

@ -146,7 +146,7 @@
{#each row ?? [] as cell, cellIdx} {#each row ?? [] as cell, cellIdx}
<td <td
class="px-3! py-1.5! text-gray-900 dark:text-white w-max border border-gray-100 dark:border-gray-850" class="px-3! py-1.5! text-gray-900 dark:text-white w-max border border-gray-100 dark:border-gray-850"
style={token.align[cellIdx] ? '' : `text-align: ${token.align[cellIdx]}`} style={token.align[cellIdx] ? `text-align: ${token.align[cellIdx]}` : ''}
> >
<div class="break-normal"> <div class="break-normal">
<MarkdownInlineTokens <MarkdownInlineTokens