markstream-install
Installs and configures tools to display Markdown in real-time in web applications. It helps efficiently integrate Markdown rendering into projects.
What it does
This tool helps install and configure Markstream, a program that displays formatted text (like from AI chats) on websites and applications built with technologies like Vue, React, and Svelte. It ensures only necessary parts are installed, maintaining security.
When to use it
- ✓Add formatted text display to AI chats.
- ✓Install Markstream in Vue, React, Svelte, etc. projects.
- ✓Fix Markstream installation or styling issues.
Example of what to ask your AI
“Install Markstream for Vue 3 in a Nuxt project, with code highlighting and math support.”
Want more? Open the sections below.
How to use
The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.
Skill link
Ready-to-paste message
How it works
The tool first checks your project to understand which technology it uses (Vue, React, etc.) and what extra features you need. Then, it installs the correct Markstream package and configures the styles and display mode.
Installation
Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.
In the terminal (Claude Code, Codex, Cursor), in your project folder:
npx skills add github/awesome-copilot --skill markstream-installOr download just the file:
curl -L https://raw.githubusercontent.com/github/awesome-copilot/main/skills/markstream-install/SKILL.md -o SKILL.mdTechnical content (original SKILL.md)
Original text by the author, straight from GitHub.
Markstream Install
Integrate the appropriate Markstream package into an existing application without installing unnecessary optional dependencies or weakening its security defaults.
Read references/scenarios.md before choosing packages or peers.
When to Use
Use this skill when the user asks to:
- add streaming Markdown rendering to an AI chat or document interface;
- install Markstream in Vue, Nuxt, React, Next.js, Svelte, Angular, or Vue 2;
- repair a broken Markstream installation, missing styles, or SSR failure;
- replace another Markdown renderer with Markstream;
- choose between static, smooth-streaming, and externally parsed AST input.
Workflow
1. Inspect the host application
Before changing dependencies, inspect:
- the framework and version in
package.json; - the package manager lockfile;
- whether the application uses SSR;
- reset, Tailwind, UnoCSS, or design-system styles;
- required optional features: code highlighting, enhanced File/Diff surfaces, Monaco, Mermaid, D2, infographic blocks, or KaTeX.
Do not assume the Vue package is correct merely because the source repository is named markstream-vue. Select the framework-specific package from the scenario table.
2. Install the smallest dependency set
Install exactly one framework package. Add optional peers only when the requested UI uses their feature.
Examples:
npm install markstream-vue
npm install markstream-react
npm install markstream-svelte
npm install markstream-angular
npm install markstream-vue2
Preserve the repository's existing package manager. Do not install every optional peer preemptively.
3. Wire styles in the correct order
Import application resets before Markstream styles. Import package CSS explicitly; do not rely on component imports to inject it.
For Tailwind or UnoCSS, use the relevant package subpath in a component layer:
@import 'markstream-vue/index.css' layer(components);
Use the matching package name for React, Svelte, Angular, or Vue 2. If math rendering is enabled, also import:
@import 'katex/dist/katex.min.css';
Vue CLI 4 and other Webpack 4-based Vue 2 applications cannot resolve package export maps. In those projects, import the published file directly:
import 'markstream-vue2/dist/index.css'
4. Add the smallest working renderer
Prefer content for static documents and most streaming chat interfaces. Markstream's built-in smooth streaming can pace irregular token delivery without requiring the host to maintain an AST.
For Vue 3 chat surfaces, start with:
<MarkdownRender
mode="chat"
:content="markdown"
:final="false"
smooth-streaming="auto"
:fade="false"
typewriter
/>
For completed chat history, keep the same renderer mode and switch pacing off:
<MarkdownRender
mode="chat"
:content="markdown"
:final="true"
:smooth-streaming="false"
:fade="true"
:typewriter="false"
/>
In React, Svelte, and Angular, use the equivalent camelCase or framework binding syntax. Keep smoothStreaming="auto", fade=false, and typewriter=true while streaming; use smoothStreaming=false and typewriter=false for completed history.
Use nodes plus final only when a worker, shared AST store, custom transform, or another application layer already owns parsing.
5. Handle framework-specific boundaries
- In Nuxt, keep browser-only optional peers behind client boundaries.
- In Next.js, use the root
markstream-reactentry inside a'use client'component for live SSE or WebSocket streams. Usemarkstream-react/nextfor SSR-first HTML with hydration, ormarkstream-react/serverfor server-only rendering. - Use
markstream-svelteonly with Svelte 5. - Confirm the Angular application meets the current
markstream-angularversion requirement. - In Vue 3, use
mode="chat"for AI chat,mode="docs"for rich documents, andmode="minimal"for lightweight non-chat surfaces. - For long Vue 3 conversations or an existing message virtualizer, consult the Markstream performance guide before adding a second virtualizer.
6. Preserve safe defaults
HTML policy defaults to safe, and Mermaid uses strict mode. Do not broaden either setting unless the user explicitly identifies a trusted legacy surface that requires it. Scope any exception to that surface.
7. Validate
…
FAQ
What is Markstream?
Markstream is a library that allows for efficient display of formatted text, such as that generated by artificial intelligence, within web applications.
Why do I need to choose a specific package for my framework (Vue, React, etc.)?
Each framework has its own specifics. Installing the correct package ensures Markstream works perfectly with your project's technology, without conflicts or unnecessary dependencies.
What are 'optional dependencies'?
These are extra features that Markstream might have, like code highlighting or formula support. The tool only installs what you actually request, keeping the project lighter and more secure.
Details
Original description by the author
Install and configure Markstream streaming Markdown renderers for Vue, React, Svelte, Angular, Nuxt, and Vue 2 applications. Use for package selection, minimal peer dependencies, CSS order, SSR boundaries, streaming mode, and renderer setup.
repo: github/awesome-copilot
Popularity
- GitHub stars
- 40k
- Ranking position
- #5219
- License
- MIT
- Updated
- 10/15/2026
Comments
- …
More skills from this repository
acquire-codebase-knowledge
Helps your agent understand and document an existing code project. It's useful for onboarding new people or getting an overview of the architecture.
github/awesome-copilot
acreadiness-assess
Enables your agent to assess a project's readiness for AI and generate a report. It's useful for understanding how well a project is prepared to use AI tools.
github/awesome-copilot
acreadiness-generate-instructions
Helps your agent create instructions for AI tools based on an assessment. It's useful for improving how AI interacts with code and closing identified gaps.
github/awesome-copilot
acreadiness-policy
Enables your agent to help define or apply policies for AI project assessment. It's useful for standardizing how projects are evaluated and ensuring compliance.
github/awesome-copilot
Similar skills
angular-developer
Helps your agent create Angular code and give project structure advice. Useful for starting new projects, creating code parts, or improving performance and accessibility.
affaan-m/ECC
frontend-a11y
Helps your agent make web interfaces accessible to everyone. It ensures websites and apps work well with screen readers and keyboard navigation.
affaan-m/ECC
frontend-patterns
Has your agent apply modern patterns in frontend development. It optimizes performance, manages state, and follows best practices in React and Next.js.
affaan-m/ECC