tcms.rpc.api.markdown module

tcms.rpc.api.markdown.render(text)[source]
RPC Markdown.render(text)

Returns the input string rendered into HTML with all the filters and extensions available in markdown2html().

Note: when used via the front-end all of the HTML tags will be escaped eventhough they are safe to use! The FE client should unescape them in case this HTML is to be shown on the screen!

Parameters:

text (str) – Markdown text

Returns:

Rendered HTML text

Return type:

str