Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Audit and migrate an existing Markdown renderer to Markstream while preserving custom renderers, security policy, streaming behavior, and explicit parity gaps.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-07 | ✗→✓ | ▲ Improved | -22% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 83% | 0% |
| case-15 | ✗→✓ | ▲ Improved | 0% | 0% |
| case-22 | ✗→✓ | ▲ Improved | 24% | 0% |
| case-05 | ✓→✓ | = Same ✓ | 25% | 0% |
Replace an existing Markdown renderer without silently dropping transforms, custom components, URL policy, raw-HTML behavior, or streaming semantics. Read references/adoption-checklist.md first.
Use when replacing react-markdown, markdown-it, marked, or another renderer; migrating node renderers; or choosing between Markstream content, smooth streaming, and nodes.
Before changing dependencies or source files, inspect the existing package manager and project conventions, preview the intended edits, and obtain explicit user approval.
content with smooth streaming for ordinary token streams. Use nodes only for worker parsing, shared AST ownership, or structural transforms.tsx// Before: // import ReactMarkdown from 'react-markdown' // return <ReactMarkdown>{markdown}</ReactMarkdown> import MarkdownRender from 'markstream-react' import 'markstream-react/index.css' export function AssistantAnswer({ markdown, isDone, }: { markdown: string isDone: boolean }) { return ( <MarkdownRender content={markdown} final={isDone} fade={isDone} typewriter={!isDone} smoothStreaming={isDone ? false : 'auto'} htmlPolicy="safe" /> ) }
Do not weaken sanitization for screenshot parity. Review dependencies, raw HTML, URL transforms, and trust boundaries explicitly.
Other measured skills in the registry, with their headline benchmark lift.