dioxus/packages/autofmt
2024-07-28 12:06:09 -07:00
..
.vscode Fixes to autofmt, make it more aggressive (#2230) 2024-04-03 15:27:36 -07:00
src This fixes issue (#2724) 2024-07-28 12:06:09 -07:00
tests This fixes issue (#2724) 2024-07-28 12:06:09 -07:00
Cargo.toml set up example scaping for docs.rs (#2450) 2024-05-28 13:05:55 -07:00
README.md Fix Outdated README.md (#2147) 2024-03-26 19:17:02 -07: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.