Jonathan Kelley a0e06271dd Fix: flaky CI by correcting autofmt to match proper spacing (#2369) 1 year ago
..
.vscode be99e29e5f Fixes to autofmt, make it more aggressive (#2230) 1 year ago
src 994056e16d Don't eat keys (#2280) 1 year ago
tests a0e06271dd Fix: flaky CI by correcting autofmt to match proper spacing (#2369) 1 year ago
Cargo.toml 67af2d89dd Autofmt nested rsx using syn::Visitor (#2279) 1 year ago
README.md 3cbe6ff96e Fix Outdated README.md (#2147) 1 year ago

README.md

dioxus-autofmt

Crates.io MIT licensed Build Status Discord chat

Website | Guides | API Docs | Chat

Overview

dioxus-autofmt provides a pretty printer for the rsx syntax tree.

This is done manually with a via set of formatting rules. The output is not guaranteed to be stable between minor versions of the crate as we might tweak the output.

dioxus-autofmt provides an API to perform precision edits as well as just spit out a block of formatted RSX from any RSX syntax tree. This is used by the rsx-rosetta crate which can accept various input languages and output valid RSX.

Contributing

  • Report issues on our issue tracker.
  • Join the discord and ask questions!

License

This project is licensed under the MIT license.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Dioxus by you shall be licensed as MIT without any additional terms or conditions.