TailwindCSS: MDX File Fix and Patch Release

Robin Malfait tackles a tricky MDX extraction bug and ships Tailwind CSS v4.2.1. The team fixed an issue where classes weren't being properly extracted from MDX files, building on their previous markdown directive improvements. A clean patch release with the fix is now live across all supported platforms.

Duration: PT3M52S

Episode overview

This episode is a short developer briefing from TailwindCSS.

It explains recent repository work in plain language.

  • Show: TailwindCSS
  • Published: 2026-02-23T11:11:43Z
  • Audio duration: PT3M52S

Transcript excerpt

This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.

Hey there, wonderful developers! Welcome back to another episode of the TailwindCSS podcast. I'm your host, and wow, do we have a satisfying little story of bug fixing and quick releases for you today, February 23rd, 2026.

You know what I love about the Tailwind team? When they spot a problem, they don't just fix it - they fix it right. And that's exactly what we're seeing today with Robin Malfait leading the charge on what I'm calling "The Great MDX Extraction Fix."

So here's the story. Remember back in Tailwind CSS v4.1.14 when the team fixed that pesky bug where classes in markdown directives weren't being extracted properly? You know, those neat syntax patterns like `span[Some Text]{.text-gray-500}` that make markdown so much more powerful? Well, that fix was working great,…

Robin discovered that while the original markdown fix was solid, MDX files were still having trouble with class extraction in certain scenarios. Now, this is one of those bugs that really shows you how interconnected modern web development is. MDX combines the best of markdown and JSX, but that also means the…

The fix itself is beautifully simple - and isn't that always the way with the best solutions? The…

Wha…

Nearby episodes from TailwindCSS

  1. Introducing the Canonicalize Command
  2. The Shadow Bug That Broke ESLint
  3. Smarter Spacing with Auto-Canonicalization
  4. The Prototype Pollution Fix That Saved the Day
  5. The Double-Dash Drama Gets Resolved
  6. Spring Cleaning the Documentation
  7. Small Fixes, Big Impact
  8. Small Fixes, Big Impact