Basic Components
Markdown
The Markdown component can parse Markdown format text and render it as HTML, supporting custom styles and security filtering.
Usage Examples
Basic Usage
Rendering simple Markdown content.
300px
Markdown Editor and Preview
Combine with a textarea for live editing and preview functionality.
300px
Security Filtering
Prevents XSS attacks by enabling security filtering that removes dangerous HTML tags and attributes.
300px
Properties
Property | Basic component module for translation keys shared across all component documentation pages | Type | Default |
---|---|---|---|
content | Markdown content to render | string | |
sanitize | Whether to filter HTML content to prevent XSS attacks | boolean | true |
breaks | Whether to convert line breaks to br tags | boolean | true |
linkify | Whether to automatically convert URL text to links | boolean | true |
Design Empowers, Innovation Unlimited