wip: more tweaks
This commit is contained in:
1 parent
baab2b9b4f
commit
7a6b58d793
4 files changed
+41
-21
No files matched your search
@@ -13,6 +13,7 @@ pub struct Autoformat {
|
||||
}
|
||||
|
||||
impl Autoformat {
|
||||
// Todo: autoformat the entire crate
|
||||
pub fn autoformat(self) -> Result<()> {
|
||||
if let Some(raw) = self.raw {
|
||||
if let Some(inner) = dioxus_autofmt::fmt_block(&raw, 0) {
|
||||
@@ -59,3 +60,17 @@ rsx! {
|
||||
|
||||
dbg!(out);
|
||||
}
|
||||
|
||||
/*
|
||||
parse the whole doc
|
||||
find all the comment blocks
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
*/
|
||||
Reference in new issue
Block a user