๐ŸŽ‰These docs are for v1 (currently in beta) โ€” read the v0 docs โ†’
MDX logoMDX v1.0.0-alpha.17
GitHub logo

Advanced

Typically, youโ€™d use MDX through something like Webpack, Create React App, Next, Gatsby, or others. Most of the time, it โ€œJust Worksโ€. But there are some reasons to interact with the MDX library and its internals directly.

  • API โ€” learn about the async and sync MDX API
  • Runtime โ€” learn how to use MDX in a runtime environment (typically discouraged)
  • AST โ€” learn about the intermediate abstract syntax tree
  • Components โ€” learn about the generated JSX
  • remark and rehype plugins โ€” learn how to inspect and change the syntax tree
  • transform content โ€” learn how to interact with or manipulate raw MDX content
Edit this page on GitHub
Next:
Getting Started