Skip to main content

text_markdown

Function text_markdown 

Source
pub(super) fn text_markdown(body: &str) -> RoomMessageEventContent
Expand description

Builds an m.text message from Markdown source.

The body keeps the source as given. Builds with the markdown feature add an HTML formatted body when the source uses Markdown syntax.