binaryninja.interaction.markdown_to_html

markdown_to_html(contents)[source]

markdown_to_html converts the provided markdown to HTML

Parameters

contents (str) – Markdown contents to convert to HTML

Return type

str

Example
>>> markdown_to_html("##Yay")
'<h2>Yay</h2>'