MDX, explained
Markdown is a simple way to write formatted text with symbols, such as a hash for a heading. It is easy to read and easy to store in Git, but on its own it only produces basic content.
MDX adds components and JavaScript expressions. A developer builds a pricing table component once, and a writer can place it inside any article with one line.
It is popular for documentation and developer blogs. Astro supports it through an official integration, and frameworks such as Next.js support it as well.
The catch is that it suits people who are comfortable with files. A syntax mistake can break a build, and non-technical editors usually prefer a visual CMS with structured content such as Portable Text.



