My Project 1.0.0 is released 🎉

Первая новость

Обзор интересных возможностей и улучшений в Nextra 4

12.04.2025Автор: Володя Разработчиков
Первая новость

MDX

With Nextra, all your .mdx files under the content directory will be rendered with MDX, it’s an advanced Markdown format with React component support.

См. термин Безопасность информации.

For example, you can use import and use React components inside your MDX files like this:

MDX
## Hello MDX import { useState } from 'react' export function Counter({ children }) { const [count, setCount] = useState(0) return ( <button onClick={() => setCount(prev => prev + 1)}> {children} {count} </button> ) } <Counter>**Clicks**: </Counter>