The fastest Rust html to markdown transformer.
cargo add fast_html2md
You can use a html5ever or lol_html to transform.
Using the rewriter with the default rewriter
feature flag.
let md = html2md::rewrite_html("<p>JAMES</p>", false);
assert_eq!(md, "JAMES")
Using the scraper with the scraper
feature flag.
let md = html2md::parse_html("<p>JAMES</p>", false);
assert_eq!(md, "JAMES")
MIT