wip: refactor out translation into its own crate

This commit is contained in:
Jonathan Kelley committed 2022-12-28 11:51:41 -05:00
1 parent 4aac2cdae1
commit 14bc007c15
9 files changed
+153 -2

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
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);
}