Markdown
Rendered markdown.
Each link is exposed as a Link node with its URL and on-screen area, and a click on it reaches the nearest link handler.
GUITUIRuns in the browser
markdownPreview








Usage example
fn markdown_demo() -> NodeBuilder { markdown(signal(String::from( "# Heading\n\nBody with **bold** and `code`.\n\n- one\n- two", )))}fn markdown_demo() -> NodeBuilder { markdown(signal(String::from( "# Heading\n\nBody with **bold** and `code`.\n\n- one\n- two", )))}fn markdown_image_demo() -> NodeBuilder { markdown(signal(format!( "Image:\n\n" )))}fn markdown_image_demo() -> NodeBuilder { markdown(signal(format!( "Image:\n\n" )))}States
Default

Default
Image

Default
API
| Name | Signature | Purpose |
|---|---|---|
markdown | fn markdown(source: Signal<String>) -> NodeBuilder | Rendered markdown. Each link is exposed as a Link node with its URL and on-screen area, and a click on it reaches the nearest link handler. |