flytekitplugins.deck.MarkdownRenderer#

class flytekitplugins.deck.MarkdownRenderer#

Convert a markdown string to HTML and return HTML as a unicode string.

This is a shortcut function for Markdown class to cover the most basic use case. It initializes an instance of Markdown, loads the necessary extensions and runs the parser on the given text.

Methods

to_html(text)#
Parameters:

text (str)

Return type:

str