Home



title: "Welcome to the MDX Playground" description: "Experiment with MDX and see the results live."

Dive into the MDX Playground!

Unleash your creativity and begin experimenting with MDX right away, witnessing the real-time outcomes of your modifications.

What is MDX?

MDX is an innovative authoring format that allows you to seamlessly integrate JSX components within your Markdown content.

Key Features

  • Component Integration: Effortlessly embed React components directly into your Markdown.
  • Markdown Syntax: Leverage the familiar and intuitive Markdown syntax for writing content.
  • Dynamic Content: Create interactive and dynamic content experiences.

Getting Started

Simply begin typing in the editor to observe the live preview.

function Counter() {
 const [count, setCount] = React.useState(0);
 return (
 <button onClick={() => setCount(count + 1)}>
 Count: {count}
 </button>
 );
}

Example Usage

Here's a demonstration of incorporating an image:

Learn More

Explore further resources about MDX:

```mdx
---
title: "MDX Playground: A Starting Point"
description: "Play around with MDX and instantly view the updated output."
---


# Start Playing in the MDX Playground!


Set your imagination free and start trying out MDX immediately, while observing the immediate effects of what you change.


## What is MDX All About?


MDX represents a groundbreaking method for creating content, enabling the smooth blending of JSX components directly within your Markdown documents.


## Core Capabilities


*   **React Components Included:** Easily put React components right into your Markdown.
*   **Well-Known Markdown:** Use the easy-to-learn Markdown formatting for your writing.
*   **Interactive Content:** Build engaging and dynamic content for users.


## How to Begin


Just start writing in the editor and watch the preview update live.


```jsx live
function Counter() {
 const [count, setCount] = React.useState(0);
 return (
 <button onClick={() => setCount(count + 1)}>
 The Count Is: {count}
 </button>
 );
}

A Practical Example

This is an example of how to include an image:

Discover More

Check out these resources to learn more about MDX:


<AppearanceSection></AppearanceSection>