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.

Prettier-generated tables are not supported

See original GitHub issue

This code renders fine:

Foo | Bar
-|-
1 | 2

But if you run Prettier, it will generate this code, and it doesn’t work:

| Foo | Bar |
| --- | --- |
| 1   | 2   |

Actually, this still works:

| Foo | Bar |
- | -
| 1 | 2 |

But this doesn’t:

| Foo | Bar |
| - | - |
| 1 | 2 |

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
probablyupcommented, Dec 14, 2017

I’ll double check this. My guess is the “block markdown” regex needs a tweak. On Thu, Dec 14, 2017 at 7:07 AM Artem Sapegin notifications@github.com wrote:

I see that simple-markdown has two kinds of tables: table and nptable. Prettiefied example works with table.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/probablyup/markdown-to-jsx/issues/133#issuecomment-351692935, or mute the thread https://github.com/notifications/unsubscribe-auth/AAiy1hK6FsBr5ZzE1srurJ5VpkViCUrKks5tAQ9igaJpZM4RBx7x .

0reactions
probablyupcommented, Dec 15, 2017

got it in 9a3994d

Read more comments on GitHub >

github_iconTop Results From Across the Web

Transact-SQL Constructs Not Supported by In-Memory OLTP
Type Feature Resolution Feature Cursors Feature INSERT EXECUTE Remove the reference. Option PRINT Remove reference
Read more >
Visual Studio Code Settings Sync Gist · GitHub
Visual Studio Code Settings Sync Gist. GitHub Gist: instantly share code, notes, and snippets.
Read more >
FILEOPEN: Calc sheet showing multiple "adapt Row Height ...
So, if I force sheet to not update row heights--it loads immediately after calculating formula values. A work around, but done by: 1....
Read more >
DON'T LET YOUR DISCRIMINATOR BE FOOLED
Table 2: Performance under different experimental setups. 6 CONCLUSION. In this paper, we established a clear connection between robust discriminators in ...
Read more >
keyword not supported data source - asp.net mvc
NET connection string - but it's NOT a valid Entity Framework connection ... was a new database table in the EDMX and the...
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