CONTENT AS CODE

Dynamic MDX Compilation as a Service

Convert MDX strings into powerful React components on-the-fly. No complex build steps or dependencies, just a simple API call.

Join waitlist

mdx.do

import { mdx } from '@do-sdk/mdx';

// Compile your MDX string into a renderable component
const { component, frontmatter } = await mdx.compile({
  content: `
--- 
title: Hello MDX!
author: '.do'
---

# This is a heading

And this is **Markdown** with a !
  `
});

// `component` can now be rendered in your React app,
// and `frontmatter` contains your metadata.

Deliver economically valuable work

Frequently Asked Questions

Do Work. With AI.