[][src]Function html2md::parse_html_custom

pub fn parse_html_custom(
    html: &str,
    custom: &HashMap<String, Box<dyn TagHandlerFactory>>
) -> String

Custom variant of main function. Allows to pass custom tag<->tag factory pairs in order to register custom tag hadler for tags you want.

You can also override standard tag handlers this way

Arguments

html is source HTML as String custom is custom tag hadler producers for tags you want, can be empty