ngxdocs
Documentation

MDX

Compile rich Markdown content for Angular and Analog.

On this page

ngxdocs-mdx provides the authoring toolchain for documentation that goes beyond plain Markdown. It includes Vite integration, compiler presets, runtime entries, collection helpers, and plugins for common documentation syntax.

When to use it

Keep prose-first pages as Markdown. Use the MDX/AGX toolchain when a page must render interactive Angular examples, generated type information, tabs, steps, or custom project components.

Build integration

The Vite plugin runs before Analog's content rendering and shares the same source files used for routing, search, static generation, and AI exports. Compiler work remains build-time; readers receive normal Angular output.

Last updated on