This article was published on Tuesday, January 24, 2023 by Dimitri POSTOLOV @ The Guild Blog
What’s Nextra
Nextra – Next.js Static Site Generator framework that works on top of Next.js
and React, uses Tailwind CSS and
other amazing open-source libraries. It lets you create your
powerful markdown content using a theme
package.
Currently, Nextra contains two official themes:
But you can provide your own theme to fully customize to your needs.
What’s New
MDX 2 Support
Migration to MDX 2 comes with improved performance, supporting any JSX
runtime and JavaScript expression inside your markdown pages.
“`mdx filename=”Markdown”
import Hero from ‘@/components/hero’
Current year – {new Date().getFullYear()}
#### Markdown Import
In case of reusing some duplicated content you can export and import your markdown files.
```mdx filename="task-list.mdx"
- [x] Code
- [x] Sleep
- [ ] Eat
[gs-fb-comments]