markstream-solid
Installation
SKILL.md
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'