Skip to content

Guide ​

For Vue 3 and Nuxt, follow the three-step path below. If you use another framework, choose its package from Frameworks first.

Get Vue Working ​

  1. Vue Quick Start — install, import CSS, and copy a complete static or streaming example.
  2. Choose one scenario: AI Chat & Streaming, Nuxt SSR, or Docs Site & VitePress.
  3. Add only the optional peers you need from Installation.

If the first render fails, use Troubleshooting by Symptom. Once it works, use Usage & API and Props & Options as reference rather than reading every page in order.

I Want To Customize Rendering ​

I Want To Adopt It In An Existing App ​

Framework Entry Points ​

Vue 3 / Nuxt (markstream-vue) — most mature renderer ​

PageDescription
InstallationInstall the package and only the peers you actually need
Vue Quick StartRender your first Vue Markdown document
Usage & StreamingDecide between content and nodes
Docs Site & VitePressGuided path for docs pages, enhanceApp, trusted tags, and CSS order
AI Chat & StreamingGuided path for chat UIs, SSE, and token-by-token output
API ReferenceParser helpers, scoping, and render-pipeline entry points
Renderer & Node ComponentsRenderer and node component reference
CustomizationOverride built-ins and add custom tags
YAML Front MatterExtract metadata before rendering or map it to a trusted custom tag

Vue 2 (markstream-vue2) ​

PageDescription
InstallationVue 2 specific setup
Quick StartVue 2 examples
Components & APIVue 2 component reference

React (markstream-react) ​

PageDescription
InstallationReact specific setup
Quick StartReact examples
React ComponentsReact renderer and node components
Migrate from react-markdownMigration path for existing React Markdown apps
Migration CookbookBefore/after recipes for common migration scenarios

Angular (markstream-angular) ​

PageDescription
InstallationAngular specific setup
Quick StartStandalone Angular examples

Svelte (markstream-svelte) ​

PageDescription
Quick StartSvelte 5-only renderer usage, workers, and custom components

Nuxt ​

  • Nuxt SSR Guide for client-only boundaries, workers, and browser-only peers.