Skip to main content

Module mdx

Module mdx 

Source

Structs§

MdxBodyEmitter
Builds an MDX-runtime body - a _createMdxContent(props) function whose return value is a React tree of jsx, jsxs, and Fragment. Imports + exports hoist into a prelude; frontmatter is dropped.

Functions§

render_mdx_body
Convenience: render doc to an MDX body string with a throwaway diagnostic engine.