Skip to main content

html_to_markdown

Function html_to_markdown 

Source
pub fn html_to_markdown(html: &str) -> String
Expand description

Convert a cleaned HTML fragment to Markdown.

This helper accepts fragments, not full documents. Full extraction already populates crate::Article::markdown.