jxnblk / mdx-deck

♠️ React MDX-based presentation decks

Home Page:https://mdx-deck.jxnblk.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Markdown table alignment not working

0phoff opened this issue · comments

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.

It seems not to work properly 🤔
table