markstream-angular

Integrate markstream-angular into Angular projects with standalone component imports and CSS wiring.

2.9k|175|Updated May 22, 2025
One-click install
npx skills add https://github.com/Simon-He95/markstream-vue --skill markstream-angular
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: markstream-angular
Source: https://github.com/Simon-He95/markstream-vue/tree/main/.agents/skills/markstream-angular
Command: npx skills add https://github.com/Simon-He95/markstream-vue --skill markstream-angular

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Angular projects often struggle to cleanly integrate and wire the markstream-angular package. This skill provides a recommended workflow to adopt the package with proper CSS imports, standalone setup, and optional peer integrations.

Core Features & Use Cases

  • Standalone Angular integration using MarkstreamAngularComponent in imports to keep the app modular.
  • CSS wiring: import markstream-angular/index.css and, when math is enabled, katex/dist/katex.min.css.
  • Optional peer integrations and signal-friendly usage for updated Angular apps.

Quick Start

Install markstream-angular in your Angular app, wire the index.css (and katex.css if math is enabled), and import MarkstreamAngularComponent as a standalone module.

Frequently Asked Questions about markstream-angular

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate a standalone component into an Angular app?

Standalone component integration in Angular requires installing the package, wiring index.css in your app shell, and adding MarkstreamAngularComponent to your component imports array for modular usage.

What's the best way to wire CSS for a markdown streaming package in Angular?

The recommended CSS wiring approach imports markstream-angular/index.css into your app shell, and conditionally adds katex/dist/katex.min.css when math rendering is enabled.

Does this Angular integration support signal-friendly usage?

Yes, the integration supports signal-friendly usage for updated Angular apps, enabling reactive markdown streaming through Angular signals alongside optional peer integrations.

Do I need KaTeX CSS for math rendering in an Angular markdown component?

You need to import katex/dist/katex.min.css when math rendering is enabled, alongside the base index.css, to properly display mathematical expressions within your Angular application.

Can I use peer integrations with a standalone Angular component?

Optional peer integrations are supported with the standalone MarkstreamAngularComponent, allowing you to extend markdown streaming functionality while maintaining a modular Angular architecture.

Why should I use standalone imports instead of NgModules for Angular component integration?

Standalone imports keep your Angular app modular by using MarkstreamAngularComponent directly in component metadata, reducing NgModule boilerplate and aligning with modern Angular architecture.