SMStreamMDXStreaming renderer
HomeDocs
Documentation

Docs

Start with Getting Started, then React integration, then the API. StreamMDX is designed to be a drop-in replacement for standard markdown renderers with a focus on high-performance streaming.

npm install @stream-mdx/react
First steps

Start here if you want the shortest path from installation to a working stream in React or a first look at the non-React entry points.

Read by role

These tracks are the real docs IA. React consumers, worker/plugin extenders, TUI consumers, and correctness reviewers should each have a visible path instead of one flat index.

React app consumer

Install the React package, mount the renderer, and learn the public API and integration constraints.

Start withGetting started
Deep referenceSecurity model
Plugin / worker extender

Work from the plugin cookbook into the worker internals and correctness contract before changing parser behavior.

Deep referenceComprehensive manual
TUI / Node consumer

Start from the dedicated terminal guide, then drop into lower-level runtime and protocol details only where needed.

Start withTUI guide
Deep referencePublic API
Maintainer / correctness reviewer

Use the testing and baseline guide first, then the repo-side correctness contract and execution plan when you need the stronger guarantees.

Deep referenceRelease checklist
Explore by topic

Topic browsing stays secondary to the role tracks, but it still needs enough structure to work as a quick reference map.

Use the docs site effectively

If you are scanning rather than reading linearly, use this section as the map from role tracks into the deeper guides and reference material.

Navigation model
  • Read by task: Use the role tracks below if you are integrating React, extending worker/plugin behavior, consuming the protocol from a TUI, or validating correctness.
  • Guides as deep dives: The Guides section covers styling, MDX and HTML, testing, architecture, benchmarks, deployment, and Mermaid-specific behavior.
  • Runnable examples: The docs now expose the minimal TUI example as a first-class page, so terminal consumers can start from a runnable loop and only drop into the protocol spec when they actually need it.