mdx.do

Interactive Documentation with MDX

Write documentation with embedded React components, live code examples, and semantic metadata. Compile at the edge with no build step required.

Read the docs
index.tsmdx.do
import { MDX } from 'mdx.do' // Compile MDX at the edge with custom componentson.Documentation.requested($ => {  const content = $.Content.get.MDX({ slug: $.Request.params.slug })   // Compile with React components  const compiled = MDX.compile(content, {    components: { CodeBlock: InteractiveCodeBlock, Chart: DataVisualization }  })   return $.Response.cached({ html: compiled, ttl: '1h' })})

One of 48 primitives

mdx.do sits in Data: records, vocabulary and search. Every .do shares one grammar, Business-as-Code, and one SDK.

Business

Goals, plans and the work itself

Workflows

Triggers, steps and functions

Data

Records, vocabulary and search

Insight

Measure, test and trace

Build

Ship from code, CLI or MCP

Frequently asked questions

Build your 1-person unicorn

Write the business. Agents run it around the clock.

Read the docs