haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.ParseMarkdown

Synopsis

Documentation

data ParseMarkdown Source #

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

Constructors

ParseMarkdown 

Fields

  • text :: Maybe FormattedText

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