vue-markdown-render
For a basic view, rename source to text and keep the existing reactive data. Review markdown-it options and plugins separately.
Migrate with an agent
Send this prompt to the agent working in your project:
Replace the component
Before:
After:
The browser entry loads styles. For SSR, import @fluxdown/vue/styles.css at the application entry, then use the styling guide to adjust the theme.
Adapt parsing and plugins
Fluxdown includes tables, task lists, strikethrough, and ordinary line breaks. Compare content that depends on options.breaks, linkify, or custom parsing rules. Indented code and Setext headings are disabled by default; enable them if existing articles use them:
The two libraries use different plugins interfaces. Replace markdown-it extensions with Remark plugins for syntax, Rehype plugins for tree changes such as heading anchors, or Slot plugins for link and code components. The Rehype guide also covers allowed HTML.
For streams, pass the complete text received so far and use the request state for streaming:
Set pending to false when the request finishes. The original configuration is documented in the vue-markdown-render README.