CONTENT AS CODE

Dynamically Compile MDX to React

Transform your MDX content into interactive React components in real-time. Power your blogs, documentation, and dynamic pages with the full capabilities of JSX within Markdown.

Join waitlist

mdx.do

import { mdx } from ".do";

const mdxContent = `
# Hello, MDX!

This is a JSX component rendered from a string:



Expressions are easy: {2024 - 1984} years have passed.
`;

// Compile the MDX string into executable code
const { code, frontmatter } = await mdx.compile(mdxContent);

// `code` can now be safely evaluated and rendered
// in your React application.

Deliver economically valuable work

Frequently Asked Questions

Do Work. With AI.