markdown_to_html
host callCapy
function markdown_to_html(source : string) string function markdown_to_html(source : string, options : dval) string
Description
markdown_to_html() renders Markdown source as HTML.
Raw HTML stays escaped unless options["allow_html"] is true. Only enable it for trusted source.
Parameters
source : the Markdown source text
options : render options
Return Values
the HTML text
Example
Capy
print(markdown_to_html("**bold**"), "\n")