Markdown

Typography

Markdown text rendered as HTML: headings, paragraphs, lists, quotes, code, links, emphasis. The text is escaped first, so HTML in it is shown, not run.

Markdown(text)

Example

Markdown("Some **bold** text and a [link](/docs).")

Renders with the class wf-markdown, stable across releases, so a stylesheet may target it.

Props of Markdown
Prop Type Meaning
text String (positional)

The Markdown text

Attribute families: global, aria, data. Plus the universal props on every element: animate:, exit:, speed:, class:, ref:.