Why MDX improves Markdown workflows in Astro?

Astro handles plain Markdown fine, but this piece makes a decent case for using MDX when you want a bit more flexibility without turning the whole thing into a mess.

MDX earns its keep in Astro the moment you want to drop an actual component into a post—callouts, a little chart, a “don’t do this” warning box—without duct-taping a pile of remark/rehype plugins together.

I still keep plain .md for boring posts, but once you need anything even slightly layout-y, MDX is the cleaner escape hatch (and future-you won’t be debugging a custom Markdown extension at 1am).