markdown

class mautrix.util.markdown.HtmlEscapingRenderer

Bases: commonmark.render.html.HtmlRenderer

__init__(allow_html=False)
Parameters

allow_html (bool) –

lit(s)

Concatenate a literal string to the buffer.

@param str {String} The string to concatenate.

image(node, entering)
mautrix.util.markdown.render(message, allow_html=False)
Parameters
  • message (str) –

  • allow_html (bool) –

Return type

str