html2md

Function parse_html

Source
pub fn parse_html(html: &str, commonmark: bool) -> String
Expand description

Main function of this library. Parses incoming HTML, converts it into Markdown and returns converted string.

ยงArguments

html is source HTML as String commonmark to change the markdown flavor to commonmark as boolean