Streaming markdown output, Useful for text streams like LLM outputs.
TypeScript
239
346 commits
updated Sep 17, 2026
A markdown renderer specially optimized for streaming scenarios, inspired by Streamdown. Designed to achieve smoother streaming rendering through syntax inference and highly customizable rendering elements.
@stream-markdown/code extension.stream-markdown with semantic data-stream-markdown attributes, following Shadcn UI design systemI am grateful to the teams and builders who trust this library in their products:
Thank you for your trust and support.
This project is inspired by Streamdown and uses Comark as its incremental Markdown parser.
This project also uses and benefits from:
packages/core/src/utils/harden.ts is ported from Rehype Hardenpackages/markmend/core/src/completion/vendored/markdown-utils.ts is ported from DifyI would like to express my sincere gratitude to those who provided guidance and support during the project selection phase and promotion phase of this project. Without their encouragement and support, I would not have been able to complete this work. In particular, the Streamdown community provided excellent code guidance and even helped fix several issues.
The playground supports generating shareable links and provides streaming controls (forward/backward navigation) for debugging streaming rendering issues.
If you encounter any problems, please:
Please provide the shareable link, Markdown content, and Comark document when creating an issue. This will help me reproduce and diagnose the problem more effectively.
MIT License © jinghaihan
TypeScript
78.5%
Vue
17.8%
JavaScript
1.9%
CSS
1.8%
Streaming markdown output, Useful for text streams like LLM outputs.
TypeScript
239
346 commits
updated Sep 17, 2026
A markdown renderer specially optimized for streaming scenarios, inspired by Streamdown. Designed to achieve smoother streaming rendering through syntax inference and highly customizable rendering elements.
@stream-markdown/code extension.stream-markdown with semantic data-stream-markdown attributes, following Shadcn UI design systemI am grateful to the teams and builders who trust this library in their products:
Thank you for your trust and support.
This project is inspired by Streamdown and uses Comark as its incremental Markdown parser.
This project also uses and benefits from:
packages/core/src/utils/harden.ts is ported from Rehype Hardenpackages/markmend/core/src/completion/vendored/markdown-utils.ts is ported from DifyI would like to express my sincere gratitude to those who provided guidance and support during the project selection phase and promotion phase of this project. Without their encouragement and support, I would not have been able to complete this work. In particular, the Streamdown community provided excellent code guidance and even helped fix several issues.
The playground supports generating shareable links and provides streaming controls (forward/backward navigation) for debugging streaming rendering issues.
If you encounter any problems, please:
Please provide the shareable link, Markdown content, and Comark document when creating an issue. This will help me reproduce and diagnose the problem more effectively.
MIT License © jinghaihan
TypeScript
78.5%
Vue
17.8%
JavaScript
1.9%
CSS
1.8%