Dave Bernhard

Web Developer

📚 Reading: Infinite Jest by David Foster-Wallace

How MDX gets compiled to JSX

A journey through AST land

Spark|First lit on July 11
1 min read

Note to self: these are the steps to compile from MDX to JSX. Use remark to transform the MDAST and rehype to transform the HAST.

Diagram of how MDX gets compiled to JSX