hashicorp / next-mdx-remote

Load MDX content from anywhere
Mozilla Public License 2.0
2.67k stars 140 forks source link

Could not parsing markdown table #291

Closed mehedi-sharif closed 2 years ago

mehedi-sharif commented 2 years ago

Hello there,

I have implemented next-mdx-remote to my project and everything works perfectly except the table.

here is the example code of the table:

| Tables        |      Are      |  Cool |
| ------------- | :-----------: | ----: |
| col 3 is      | right-aligned | $1600 |
| col 2 is      |   centered    |   $12 |
| zebra stripes |   are neat    |    $1 |

and the output looks like this: image

is it a bug or I did do something wrong?

BRKalow commented 2 years ago

See the MDX v2 upgrade guide: https://mdxjs.com/migrating/v2/#gfm