Loading video...
Video Failed to Load
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... show more
45,384 views • 2 years ago •via X (Twitter)
5 Comments

Travis Arnold2 years ago
Learn how to get started using the CodeBlock component in any framework that supports React Server Components here:

Ryan Lisse2 years ago
@memdotai mem it

Mem2 years ago
@souporserious Saved! Here's the compiled thread:

Raunak Chowdhuri2 years ago
neat! what do you use for code highlighting?

Travis Arnold2 years ago
Using Shiki for highlighting 😁
