fix: markdown tables not rendering, close #716

This commit is contained in:
Xylight committed 2026-02-11 16:18:28 -08:00
1 parent 83cc07e73b
commit 538cc001fd
1 file changed
+1 -14
+1 -14
View File
@@ -10,22 +10,9 @@
tokens?: Tokens.Generic[] tokens?: Tokens.Generic[]
text?: string text?: string
align?: string align?: string
header?: boolean
} }
let { let { type, tokens = [], renderers, raw, text, ...rest }: Props = $props()
type,
tokens = [],
renderers,
raw,
text,
header,
...rest
}: Props = $props()
if (header) {
type = 'tablecell'
}
</script> </script>
{#if type} {#if type}