pub fn to_html(value: &str) -> StringExpand description
Turn markdown into HTML.
Compiles markdown to HTML according to CommonMark.
Use to_html_with_options() to configure how markdown is turned into
HTML.
ยงExamples
use markdown::to_html;
assert_eq!(to_html("# Hi Mercury!"), "<h1>Hi Mercury!</h1>");