Streamdown
When migrating from Streamdown, keep your existing data stream and message state. Pass Markdown through text, then adapt plugins, styling, and interactions.
Migrate with an agent
Give this prompt to an agent with access to your project:
Replace the component
Before:
After:
text is still the complete Markdown received so far. Set pending to false when the request finishes or stops. For static articles, omit streaming.
Fluxdown's streaming mode enables ending repair, smooth output, and a scale effect by default. To keep ending repair without those visual effects:
Adapt existing options
Streamdown plugin objects cannot be passed directly to Fluxdown. Wrap existing remark / rehype extensions in the corresponding plugins; see Remark and Rehype.
HTML allowlists and link handling also differ. If your application uses allowedTags, urlTransform, or a link confirmation dialog, preserve those behaviors explicitly.
The component loads its base styles. If your bundler does not load them automatically, add this to the application entry:
Check copying code, math, and diagrams with existing messages before removing unused streamdown, @streamdown/*, and their dedicated styles.