Function parse_markdown

Source
pub async fn parse_markdown(
    text: FormattedText,
    client_id: i32,
) -> Result<FormattedText, Error>
Expand description

Parses Markdown entities in a human-friendly format, ignoring markup errors. Can be called synchronously

§Arguments

  • text - The text to parse. For example, “italic strikethrough ||spoiler|| bold code pre __italic__ text_url __italicbold italic__bold
  • client_id - The client id to send the request to