You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Table columns render with little/no regard to the content width. This leads to really wide columns with narrow content (e.g. row numbers) and squashed/narrow columns where there's long content.
Steps to Reproduce
Open a doc with a table that has columns of variable width and marktext will render all columns at roughly the same width.
e.g. here's how an example table renders here in GitHub:
#
Short
Content
1
Ok
A pretty long amount of content that should force this column to render much wider than the first. Though in reality most of my long-column's content will be squished in a narrow space.
Expected Behavior
Markdown tables render columns according to their content width. (Just like GitHub.)
Activity
Renakoni commentedon Jul 16, 2026
I'd like to take a crack at this,though the final merge might need discussion, as some might prefer the equal-split layout.
Renakoni commentedon Jul 17, 2026
Equal width was never an intentional layout choice—it is a genuine bug.
fix: cherry-pick seven upstream fixes; cure state-clone aliasing
fix(muya): size table columns to their content (#4894) (#4952)
Merge upstream/develop (marktext/marktext) into local develop