wip: refactor out translation into its own crate
This commit is contained in:
1 parent
4aac2cdae1
commit
14bc007c15
9 files changed
+153
-2
No files matched your search
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user