@@ -47,27 +47,14 @@ This makes writing long-form content with components a blast. {/* more */}
4747[ Continue reading »] [ what ]
4848
4949<div className = " card big" >
50- ## New: MDX 2!
51-
52- Version 2 of MDX was released after years of hard work, and has many
53- improvements.
54- Here are the highlights:
55-
56- <div className = " emoji-list" >
57- * 📝 ** Improved syntax** makes it easier to use markdown in JSX
58- * 🧑💻 ** JavaScript expressions** turn ` {2 * Math.PI} ` into { 2 * Math .PI }
59- * 🔌 New ** esbuild** , ** Rollup** , and ** Node.js** integrations
60- * ⚛️ ** Any JSX runtime** : React, Preact, Vue, Emotion, you name it, they’re
61- all supported
62- * 🌳 ** Improved AST** exposes more info in greater detail
63- * 🏃♀️ Compiles at least ** 25% faster**
64- * 🚴 Generated code runs twice as fast (** 100% faster** )
65- * 🚄 Bundle size of ` @mdx-js/mdx ` is more than three times as small
66- (** 250% smaller** )
67- * 🧵 …and much, so much more
68- </div >
50+ ## New: MDX 3!
51+
52+ A small major this time, nothing big, which is also nice sometimes!
53+ This mainly drops support for old Node (use 16 or later), adds modern ES2024
54+ support in MDX, supports ` await ` in MDX (if your framework does too), and
55+ removes several deprecated options.
6956
70- [ Continue reading »] [ v2 ]
57+ [ Continue reading »] [ v3 ]
7158</div >
7259
7360## What does MDX do?
@@ -145,7 +132,7 @@ You’re using React, Preact, or Vue.
145132
146133[ what ] : /docs/what-is-mdx/
147134
148- [ v2 ] : /blog/v2 /
135+ [ v3 ] : /blog/v3 /
149136
150137[ playground ] : /playground/
151138
0 commit comments