
Markstream Solid
Integrate markstream-solid in SolidJS 1.9 or SolidStart apps.
Install
npx skills add Simon-He95/markstream-vue --skill markstream-solid -g -a claude-code -y- Repository
- Simon-He95/markstream-vue3k
- Category
- Engineering
- Updated
- 3d ago
- License
- MIT
- Context cost
- Lightabout 1,210 tokens
- Runs scripts
- No, instructions only
What it does
Integrate markstream-solid in SolidJS 1.9 or SolidStart apps. Use for reactive TSX, SSR and hydration, Markdown streaming/restoration, emitted KaTeX/Mermaid workers, scoped components and translations, virtual timelines, or standalone component/API usage.
Markstream Solid
Read the Solid guide for setup and the Solid component/API reference for exact contracts. The repository source contains workspace commands and validation records. Check the selected package's actual version and publication status before installing it.
Setup
- Detect
solid-js/@solidjs/startin the host. TSX alone does not imply React. Require Solid 1.9 and the Solid compiler; SolidStart owns its compiler setup. - While the package is a workspace preview, build and pack the parser, core and Solid packages together. For npm releases, use the package's declared dependency versions; never substitute an older published core/parser for the workspace build.
- Add only required peers:
katex,mermaid,stream-diffs,@terrastruct/d2or@antv/infographic. Math also requireskatex/dist/katex.min.css. - Load resets before exactly one
markstream-solid/index.css,index.px.cssorindex.tailwind.css. Use.markstream-solidaround standalone basic nodes. - Keep props reactive: read
props.contentin JSX/accessors. Avoid destructuring reactive props or treating signals as Vue refs.
Streaming and restoration
import MarkdownRender from 'markstream-solid'
import 'markstream-solid/index.css'
export function Message(props: { content: string, done: boolean }) {
return <MarkdownRender mode="chat" content={props.content} final={props.done} />
}
