use zephyr::{scraping::*, Zephyr}; fn main() { let body = r#"
this text is red, but green on hover
this text has a lot of margin
"#; let classes = get_classes(&body); let z = Zephyr::new(); let css = z.generate_classes(classes.iter().map(String::as_str)); let html = format!( r#" {body} "# ); std::fs::write("./examples/index.html", html).unwrap(); }