from nbmail.compose import md, block_text, compose_email
html = md("This is **bold** and this is *italic*")
# Use in a block
compose_email(body=block_text(html))
|
Process Markdown text to HTML.
Public utility function for converting Markdown strings to HTML.
text : strMarkdown text to convert.
: strHTML representation of the Markdown.