MDXTS 0.16.0 was just released and it's the best version yet 🚀
Travis Arnold
Visit on X@souporserious4.6K followers
45,396 views
MDXTS 0.16.0 was just released and it's the best version yet 🚀
The CodeBlock component was fully rewritten with minimal breaking changes and now exposes four new descendant components:
- LineHighlights
- LineNumbers
- Tokens
- Toolbar
You get all of the same type-checking and quick info benefits while being able to fully override the CodeBlock component. The examples have also been updated to showcase its flexibility.
Sign up for the newsletter and stay tuned for some big news this week!
5 Comments
Comments from the original post on X (Twitter)

@souporserious
Learn how to get started using the CodeBlock component in any framework that supports React Server Components here:
20 likes

@ryanlisse
@memdotai mem it

@memdotai
@souporserious Saved! Here's the compiled thread:

@raunakdoesdev
neat! what do you use for code highlighting?

@souporserious
Using Shiki for highlighting 😁
2 likes
