- Android
- iOS
- Web
Markdown View
Display Markdown content in an engine component tree.
Engine API NMarkdownnayan-ui/markdown
Example.tsx
| Name | Type | Default | Details |
|---|---|---|---|
| source | string | Optional | |
| children | string | Optional | |
| document | MarkdownDocument | Optional | Optional pre-parsed document; the server binding prepares this automatically. |
| blockSpacing | number | Optional | Space between blocks, in logical pixels. |
| styles | Partial<Record<MarkdownElement, ComponentStyle>> | Optional | |
| classNames | Partial<Record<MarkdownElement, string>> | Optional | |
| className | string | Optional | Supported Tailwind-style utilities, resolved entirely in Rust. See the engine README. |