Skip to main content

notice_markdown

Function notice_markdown 

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

Builds an m.notice 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.