x-markdown

Render Markdown content with streaming support and custom components.

81|11|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/antdv-next/x --skill x-markdown-antdv-next
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: x-markdown
Source: https://github.com/antdv-next/x/tree/main/packages/x-skill/skills/x-markdown
Command: npx skills add https://github.com/antdv-next/x --skill x-markdown-antdv-next

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Markdown rendering in diverse apps (chat, docs, dashboards) often requires consistent visuals, streaming support for incremental content, and extensibility via plugins, themes, and custom components.

Core Features & Use Cases

  • Streaming Markdown rendering for incremental content from LLMs and live sources
  • Custom component mappings and plugin/theme extension for rich content
  • Safe rendering defaults with configurable HTML handling and sanitization

Quick Start

Import XMarkdown from @antdv-next/x-markdown and render content by passing a Markdown string to its content prop.

Frequently Asked Questions about x-markdown

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

FAQPage Schema
How do I render streaming Markdown content from an LLM in a Vue chat UI?

Vue environments require the component to be imported from its package before rendering Markdown. You pass a raw Markdown string to the content prop, or use children input, to get formatted visual output directly in your application.

Can I use custom Vue components and themes when rendering Markdown?

You can safely render Markdown by configuring HTML handling and sanitization options. It provides safe rendering defaults with configurable escapeRawHtml and dompurifyConfig settings to prevent XSS and control raw HTML execution.

What is the best way to handle incremental Markdown rendering for live data sources?

You can map custom Vue components and apply themes when rendering Markdown. The component supports custom component mappings and plugin/theme extensions via configuration to generate rich, interactive content visualizations.

How do I safely render raw HTML within Markdown in a documentation viewer?

Vue environments require the component to be imported from its package before rendering Markdown. You pass a raw Markdown string to the content prop, or use children input, to get formatted visual output directly in your application.

Does Vue Markdown rendering support custom plugins for content-rich dashboards?

The best way to handle incremental Markdown rendering for live data sources is using a component with native streaming support. It accurately processes partial Markdown chunks as they arrive, ensuring consistent visuals for real-time content.

Why does my Markdown streaming output flicker or break during rendering?

Markdown streaming output might flicker if the renderer lacks incremental parsing support. Using a component designed for streaming Markdown ensures partial chunks are processed accurately, maintaining stable visuals during live data updates.