Angular流式标记集成套件
原名:markstream-angular
将alpha版markstream-angular包集成至Angular 20+应用,适用于Codex需要独立组件导入、信号式示例、CSS接入、自定义HTML标签或自定义组件配置,或Angular仓库可选对等集成的场景。
- 分类
- 开发提效
- 版本
- v1.0.0
- 作者
- 弈韬(@ra1nzzz)
- 下载
- 2
- 收藏
- 0
- 发布
- 2026-08-25
- 更新
- 2026-10-14
- TRACE 评分
- 3.6 / 5
内容概览
Use this skill when the host app is Angular and the task is to adopt the Angular package cleanly. 1. Confirm the repo is Angular 20 or newer and accepts an alpha renderer API. 2. Install markstream-angular plus only the requested optional peers. 3. Import markstream-angular/index.css from the app shell. - Add katex/dist/katex.min.css when math is enabled. 4. Prefer standalone Angular integration. - Use MarkstreamAngularComponent in imports and keep examples signal-friendly. 5. Start with [content]. - For streaming AI chat, keep [content] and use built-in smooth streaming first. - [smoothStreaming]="'auto'" is the default and activates when [typewriter]="true" or [maxLiveNodes]="0". - [typewriter] only controls the blinking cursor and defaults to false. - [fade] controls node enter and streamed-text fade animations and defaults to true. - Streaming vs recovering history : in chat UIs the …