Skip to main content

MDX and MDC

Result: native MDX; MDC is not supported. Docusaurus documents are compiled as MDX by default, so they can import and render React components next to Markdown.

Count: 0

The counter above is a project component with React state. Its surrounding heading and paragraph are prerendered, while the buttons become interactive after hydration.

Nuxt Content's MDC component syntax is a separate format and is not parsed by Docusaurus. A portable content policy should therefore avoid treating MDX and MDC as interchangeable.