Skip to main content

convert

Function convert 

Source
pub fn convert(
    html: &str,
    base_url: &str,
    content_type: ContentType,
) -> Converted
Expand description

Convert HTML to the requested content type.

For ContentType::Text, the reference list is rendered into a trailing References: block appended to the content (and also returned separately).