question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Incorrect alignment of table cells in MarkdownPreview

See original GitHub issue

Environment

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

image

image

image

Some tables containing empty cells are also completely broken:

image

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

image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mickvermcommented, May 12, 2020

I’ve started a PR with a fix. A small issue in the table’s CSS caused the tables to render incorrectly.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found