-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
MDX 3 #12209
Copy link
Copy link
Open
Labels
lang:mdxIssues affecting the MDX extension to Markdown (not general Markdown issues)Issues affecting the MDX extension to Markdown (not general Markdown issues)
Metadata
Metadata
Assignees
Labels
lang:mdxIssues affecting the MDX extension to Markdown (not general Markdown issues)Issues affecting the MDX extension to Markdown (not general Markdown issues)
MDX 2 was released on 1 Feb 2022: https://github.com/mdx-js/mdx/releases/tag/2.0.0
UPD: MDX 3 was released on 24 Oct 2023: https://github.com/mdx-js/mdx/releases/tag/3.0.0
The changes are summarised in the blog post: https://mdxjs.com/blog/v2/
UPD: https://mdxjs.com/migrating/v3/
Here is a big one for Prettier:
The example below is from the blog post. It is a valid MDX in v2, but Prettier 2.5.1 is unable to parse it:
Prettier 2.5.1
Playground link
Input:
Output:
Expected behavior:
No syntax error
Let’s track MDX
23 support here 👀