tencent cloud

Markdown
Last updated:2026-02-03 15:49:05
Markdown
Last updated: 2026-02-03 15:49:05

Component Feature

For displaying text content in Markdown format, it supports commonly used Markdown syntax and can enable streaming to achieve real-time content updates.

Basic Usage

Set the Markdown text via value, and the component will parse the content and render it as formatted text.
<Markdown value="# Heading\\n\\nThis is a piece of **Markdown** text." />

Attribute Description

Property Name
Type
Description
Default value
value
string
Markdown text content
-
streaming
boolean
Enable streaming transfer mode
false
Note:
★ Marked with required attribute.

Supported Markdown Syntax

heading (# ~ ######)
bold (**text**)
italic (*text*)
list (ordered/unordered)
link ([text](url))
code block (`code`)
quote (> text)
separator (---)

Streaming Transmission Description

When streaming is true:
Support incremental update content.
Suitable for scenarios such as AI response generated in real-time.
Set streaming to false after content generation.

Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback