Skip to content

parseMarkdown

Function · TDLib 1.8.67 · d1085f9c

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

parseMarkdown(
  text: FormattedText
) → FormattedText

text

FormattedText

The text to parse. For example, "italic ~~strikethrough~~ ||spoiler|| bold code pre [italic text_url](telegram.org) __italicbold italic__bold"