binaryninja.interaction.markdown_to_html

markdown_to_html(contents)[source]

markdown_to_html converts the provided markdown to HTML.

Parameters

contents (string) – Markdown contents to convert to HTML.

Return type

string

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