dioxus/packages/autofmt
2023-07-19 15:00:10 -05:00
..
src Update component.rs 2023-07-19 15:00:10 -05:00
tests fix autoformatting raw strings 2023-06-02 12:03:56 -05:00
Cargo.toml use published prettier-please 2023-07-19 10:33:23 -07:00
README.md add version to docs links in readmes 2023-02-18 18:38:30 -06:00

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.