Jonathan Kelley cd57d6219c wip: crates define their own versions 4 månader sedan
..
.vscode be99e29e5f Fixes to autofmt, make it more aggressive (#2230) 1 år sedan
src aa7d952a72 fix: never cache spanless expressions in autofmt (#3297) 6 månader sedan
tests aa7d952a72 fix: never cache spanless expressions in autofmt (#3297) 6 månader sedan
Cargo.toml cd57d6219c wip: crates define their own versions 4 månader sedan
README.md 66a50240bc Update all docs links to 0.6, release 0.6 (#3225) 6 månader sedan

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.