Skip to main content

Markdown + JSX

MDX (Markdown + JSX) is an extension of Markdown that allows you to embed JSX (JavaScript XML) components within Markdown content.

Ideal for creating

  • dynamic content,
  • interactive documentation,
  • and integrating components into documentation or blog posts.

Example

Example of MDX syntax:


# Welcome to My Blog

This is some *Markdown* text.

<Button onClick={() => alert('Clicked!')}>Click Me</Button>

Documentation