Writing Content in MDX
February 12, 2026 · 1 min read
MDX lets you mix Markdown with JSX. Regular Markdown syntax works as expected:
- Bullet points
- Bold and italic text
- Links
Blockquotes work too, useful for callouts or quotes from other sources.
Tables
| Feature | Supported |
|---|---|
| Frontmatter | ✅ |
| Syntax themes | ✅ |
| Tags | ✅ |
Code blocks
Code blocks are highlighted at build time with Shiki, using separate themes for light and dark mode:
const posts = await fetch('/api/posts').then(res => res.json())
console.log(posts.length)
That's it — write Markdown, get a fully typed, statically generated post.