dioxus/packages/autofmt
2024-11-16 12:55:20 -05:00
..
.vscode Fixes to autofmt, make it more aggressive (#2230) 2024-04-03 15:27:36 -07:00
src Fix bundling/path errors, sidecar support, iOS/Android simulator support, asset hotreload fixes, serverfn hotrelad, native tailwind support (#2779) 2024-10-25 17:23:45 -07:00
tests Simplify the launch builder (#2967) 2024-10-10 16:00:58 -07:00
Cargo.toml clean up descriptions and hoist some dependencies 2024-11-16 12:55:20 -05:00
README.md Fix Links & Add Link Checker (#2769) 2024-08-02 10:46:18 -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.