-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
🐢 platform/nodeThis affects NodeThis affects Node💎 v2Issues related to v2Issues related to v2🙋 no/questionThis does not need any changesThis does not need any changes
Description
Subject of the issue
Tables do not render properly in V2 using the following markup:
| Tables | Are | Cool |
| ------------- | :-----------: | -----: |
| col 3 is | right-aligned | \$1600 |
| col 2 is | centered | \$12 |
| zebra stripes | are neat | \$1 |I tested this in the latest V1 which is working as expected.
Your environment
- OS: macOS Catalina: 10.15.7
- Packages: @mdx-js/loader: 2.0.0-next.9 and @mdx-js/react: 2.0.0-next.9
- Env: Node: v14.16.1 and NextJS: 10.2.3
Steps to reproduce
Install the latest V2 release
{
"@mdx-js/loader": "2.0.0-next.9",
"@mdx-js/react": "2.0.0-next.9"
}See this reproduction in a minimal NextJS app with the latest MDX V2 loader.
Expected behaviour
Should render a table with respective HTML tags.
Actual behaviour
Renders table markdown as a string in a p tag.
Metadata
Metadata
Assignees
Labels
🐢 platform/nodeThis affects NodeThis affects Node💎 v2Issues related to v2Issues related to v2🙋 no/questionThis does not need any changesThis does not need any changes