Skip to main content

extract

Function extract 

Source
pub fn extract(html: &str, url: Option<&str>) -> Result<Article>
Expand description

Turn a raw HTML document into denoised Markdown units.

url is used to absolutise relative links and is echoed back on the Article; pass None for standalone fragments.