Files
dioxus/packages/html-to-rsx/examples/html.rs
T

14 lines
242 B
Rust

use html_parser::Dom;
fn main() {
let html = "hello world!";
let dom = Dom::parse(html).unwrap();
let body = rsx_rosetta::convert_from_html(dom);
let out = dioxus_autofmt::write_block_out(body).unwrap();
dbg!(out);
}