markstream-react

Configure markstream-react CSS imports and SSR-safe boundaries in React or Next projects.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Wire markstream-react safely into a React or Next project to enable robust, SSR-safe rendering and CSS integration.

Core Features & Use Cases

  • Safe SSR boundaries for Next and client-boundary aware rendering
  • Import and apply markstream-react/index.css with options for content or nodes
  • Provide a guided migration path when upgrading from other renderers or migrating from react-markdown
  • Use with optional overrides and references to docs for React/Next integration

Quick Start

Install markstream-react in your React or Next project, import index.css, and configure the renderer in a safe client-boundary setup.

Frequently Asked Questions about markstream-react

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

FAQPage Schema
How do I safely integrate a markdown renderer into a Next.js project without breaking SSR?

To safely integrate a markdown renderer into Next.js without breaking SSR, you need to establish safe client-boundary rendering. This approach guides configuring CSS imports and SSR-safe boundaries to avoid hydration pitfalls.

How do I configure CSS imports when wiring markstream-react into a React application?

Configuring CSS imports for markstream-react in a React application involves importing index.css and selecting a rendering mode. You can choose between content or nodes mode to ensure safe renderer wiring.

What is the best way to migrate from react-markdown to a new renderer in Next.js?

The best way to migrate from react-markdown to a new renderer in Next.js is following a guided migration path. This ensures safe renderer wiring, optional overrides, and alignment with existing documentation targets.

Does markstream-react support content and nodes rendering modes for React apps?

Yes, markstream-react supports both content and nodes rendering modes for React apps. You can select the appropriate mode during configuration to align with your specific rendering and styling requirements.

Why does my markdown renderer cause SSR issues in Next.js and how do I fix it?

Markdown renderers cause SSR issues in Next.js when safe boundaries are missing. You can fix this by using a client-boundary aware setup that prevents server-side rendering pitfalls while maintaining proper CSS integration.