markdown<TContextData>(content: string,options?: MarkdownTextOptions,): Text<"block", TContextData>
Renders a Markdown text. You can use this function to create
a MarkdownText tree. The mentions in the Markdown text
will be rendered as links unless the mentions
option is set to
false
.
content: string
The Markdown content.
optional
options: MarkdownTextOptions
The options for rendering the Markdown content.
Text<"block", TContextData>
A MarkdownText tree.