协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
markstream-svelte【开发与工程】Integrate the beta markstream-svelte package in Svelte 5 or SvelteKit apps. Use when Codex needs Svelte 5 runes, CSS and optional peers, smooth streaming, worker setup, renderer-local or scoped custom components, or SSR-safe boundaries. Svelte 4 is unsupported.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
<MarkdownRender {content} />.
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.final={true}.
smoothStreaming="auto", fade={false}, typewriter={true}. This is a conservative visual/performance choice, not an API incompatibility. This adapter has not adopted Vue 3's bounded append fades, so verify its animation behavior before enabling both.smoothStreaming={false}, fade={true}, typewriter={false}. Content is already complete — pacing would slow it down, but fade gives a polished entry animation.smoothStreaming={isStreaming ? 'auto' : false}, fade={!isStreaming}.nodes + final for worker-preparsed content, shared AST stores, or custom AST control.$props() and callbacks.setKaTeXWorker, setMermaidWorker, workers/*?worker.customComponents prop for one surface; use scoped setCustomComponents, customId, and customHtmlTags when shared registration is intentional.svelte-check, build, or e2e.docs/guide/svelte.mddocs/frameworks/svelte.md