markstream-install
Was er macht
Dieses Tool hilft dir, Markstream zu installieren und einzurichten. Markstream ist ein Programm, das formatierten Text (zum Beispiel aus KI-Chats) auf Websites und Anwendungen anzeigt, die mit Technologien wie Vue, React und Svelte gebaut sind. Es sorgt dafĂŒr, dass nur die nötigen Teile installiert werden, und wahrt so die Sicherheit.
Wann du ihn nutzt
- âFormatierte Textanzeige in KI-Chats hinzufĂŒgen.
- âMarkstream in Vue-, React-, Svelte- usw. Projekten installieren.
- âProbleme bei der Installation oder beim Styling von Markstream beheben.
Link zum Skill
https://github.com/github/awesome-copilot/blob/main/skills/markstream-install/SKILL.mdKopiere ihn und fĂŒge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und fĂŒge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum EinfĂŒgen
FĂŒr Claude Code, Codex oder Cursor: FĂŒhre den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
âInstalliere Markstream fĂŒr Vue 3 in einem Nuxt-Projekt, mit Code-Highlighting und Mathe-UnterstĂŒtzung.â
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Das Tool prĂŒft zuerst dein Projekt, um herauszufinden, welche Technologie verwendet wird (Vue, React usw.) und welche Zusatzfunktionen du brauchst. Danach installiert es das passende Markstream-Paket und richtet die Styles und den Anzeigemodus ein.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von 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
âŠ
HĂ€ufige Fragen
Was ist Markstream?
Markstream ist eine Bibliothek, mit der sich formatierter Text, wie er etwa von kĂŒnstlicher Intelligenz erzeugt wird, effizient in Webanwendungen anzeigen lĂ€sst.
Warum muss ich ein bestimmtes Paket fĂŒr mein Framework (Vue, React usw.) wĂ€hlen?
Jedes Framework hat seine Eigenheiten. Wenn du das passende Paket installierst, funktioniert Markstream optimal mit der Technologie deines Projekts, ohne Konflikte oder unnötige AbhÀngigkeiten.
Was sind âoptionale AbhĂ€ngigkeitenâ?
Das sind zusĂ€tzliche Funktionen, die Markstream haben kann, etwa Code-Highlighting oder FormelunterstĂŒtzung. Das Tool installiert nur, was du tatsĂ€chlich anforderst. So bleibt das Projekt schlanker und sicherer.
Details
Originalbeschreibung des Autors
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
Beliebtheit
- GitHub-Sterne
- 40k
- Platz im Ranking
- #7276
- Lizenz
- MIT
- Aktualisiert
- 15.10.2026
Kommentare
- âŠ
Weitere Skills aus diesem Repository
acquire-codebase-knowledge
40kHilft deinem Agenten, ein bestehendes Code-Projekt zu verstehen und zu dokumentieren. NĂŒtzlich, um neue Teammitglieder einzuarbeiten oder die Architektur zu ĂŒberblicken.
acreadiness-assess
40kErmöglicht deinem Agenten, die KI-Tauglichkeit eines Projekts zu prĂŒfen und einen Bericht zu erstellen. So siehst du, wie gut das Projekt auf KI-Tools vorbereitet ist.
acreadiness-generate-instructions
40kHilft deinem Agenten, auf Basis einer PrĂŒfung Anweisungen fĂŒr KI-Tools zu erstellen. So arbeitet die KI besser mit dem Code und erkannte LĂŒcken werden geschlossen.
acreadiness-policy
40kErmöglicht deinem Agenten, Richtlinien fĂŒr die Bewertung von KI-Projekten festzulegen oder anzuwenden. So werden Projekte einheitlich geprĂŒft und Vorgaben eingehalten.
Ăhnliche Skills
angular-developer
280kHilft deinem Agenten bei Angular-Code und gibt Tipps zur Projektstruktur. NĂŒtzlich fĂŒr neue Projekte, einzelne Code-Teile sowie Performance und Barrierefreiheit.
frontend-a11y
280kHilft deinem Agenten, WeboberflĂ€chen fĂŒr alle zugĂ€nglich zu machen. Sorgt dafĂŒr, dass Websites und Apps gut mit Screenreadern und Tastaturnavigation funktionieren.
frontend-patterns
280kLĂ€sst deinen Agenten moderne Muster in der Frontend-Entwicklung anwenden. Optimiert Performance, verwaltet State und folgt Best Practices fĂŒr React und Next.js.