Skip to content
  • Android
  • iOS
  • Web

Markdown View

Display Markdown content in an engine component tree.

Engine API NMarkdownnayan-ui/markdown

Live examples

Example.tsx

Preparing preview…

Attributes

NMarkdown attributes
NameTypeDefaultDetails
sourcestringOptional
childrenstringOptional
documentMarkdownDocumentOptionalOptional pre-parsed document; the server binding prepares this automatically.
blockSpacingnumberOptionalSpace between blocks, in logical pixels.
stylesPartial<Record<MarkdownElement, ComponentStyle>>Optional
classNamesPartial<Record<MarkdownElement, string>>Optional
classNamestringOptionalSupported Tailwind-style utilities, resolved entirely in Rust. See the engine README.
Markdown module

Tags