Support markdown table syntax in markdown-to-Portable-Text conversion #427
Closed
TheRedBoots
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The Table.astro component and the table Portable Text block type already exist and work well (via the admin editor and WordPress import). However, when creating content via the CLI with markdown, table syntax (| col | col |) is not converted to table blocks — each row becomes a separate
with pipe characters.
It would be great if the markdown → Portable Text path could convert standard markdown tables into proper table blocks, since it already works for other block types (headings, lists, code blocks, images).
Current behavior: Markdown tables → individual
tags with raw pipe text
Expected behavior: Markdown tables → table Portable Text blocks (rendered by Table.astro)
Beta Was this translation helpful? Give feedback.
All reactions