Incorrect alignment of table cells in MarkdownPreview
See original GitHub issueEnvironment
Windows build number: Microsoft Windows [Version 10.0.17763.1098]
PowerToys version: v0.16.1
PowerToy module for which you are reporting the bug (if applicable): MarkdownPreview
Steps to reproduce
Preview any markdown file containing a table with over two rows and two columns
Expected behavior
| The table | Should look |
|---|---|
| like | this |
Actual behavior
| Instad, | It looks |
|---|---|
| Like | this |
Screenshots


Some tables containing empty cells are also completely broken:

Here’s the source code and proper display in VSCode:

Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Incorrect alignment on Markdown tables on PR description
Issue Summary. Markdown tables very much differ from their preview view when compared to the actual results in the PR body.
Read more >Markdown table columns don't align · Issue #18773
Describe the bug I noticed that the table alignment feature does not work on Forem (neither on forem.dev or on dev.to).
Read more >Left-align headers in Markdown table?
My question is, is there any way to left-align the header cells while retaining the alignment in the image? IE, I want to...
Read more >Tables - Markdown
Align text in the columns to the left, right, or center by adding a colon : to the left, right, or on both...
Read more >Extended Syntax
Tip: Creating tables with hyphens and pipes can be tedious. ... You can align text in the columns to the left, right, or...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found


I’ve started a PR with a fix. A small issue in the table’s CSS caused the tables to render incorrectly.
Here’s the first link
Here’s second
Here’s the third
And here’s the last, broken one