jxnblk / mdx-deck

♠️ React MDX-based presentation decks
https://mdx-deck.jxnblk.com
MIT License
11.36k stars 603 forks source link

Markdown table alignment not working #680

Open 0phoff opened 4 years ago

0phoff commented 4 years ago

The alignment indicators when using markdown do not seem to work:

|Random Table|Head 1 long title|Head 2|Head 3 loooong|
|:-----------|:---------------:|:----:|-------------:|
|Row 1       |  v1             | v2   | v3           |
|Row 2       |  v4             | v5   | v6           |
|Row 3       |  v7             | v8   | v9           |

I would expect Head 1 and 2 to be center-aligned and Head 3 to be right-aligned.
However, in the latest version (I literally ran npm i -D mdx-deck seconds ago) all cells are left-aligned.

gmcusaro commented 4 years ago

It seems not to work properly 🤔

table