dioxus/packages/rsx-rosetta
Leonard 2d1234c3d1
Include README and Dioxus logo in package docs (#1536)
* Include README in docs.rs and add Dioxus logo

* Update README.md
2023-10-10 10:52:48 -05:00
..
examples fix clippy 2023-01-27 20:35:46 -06:00
src Include README and Dioxus logo in package docs (#1536) 2023-10-10 10:52:48 -05:00
tests Fix html to rsx conversions 2023-04-24 16:07:50 -05:00
Cargo.toml Bump crate versions, fix any publish errors 2023-07-31 18:49:54 -07:00
README.md fix: Update doc links from v3 to v4 2023-09-16 19:03:27 +02:00

rsx-rosetta

Crates.io MIT licensed Build Status Discord chat

Website | Guides | API Docs | Chat

Overview

Dioxus sports its own templating language inspired by C#/Kotlin/RTMP, etc. It's pretty straightforward.

However, it's NOT HTML. This is done since HTML is verbose and you'd need a dedicated LSP or IDE integration to get a good DX in .rs files.

RSX is simple... It's similar enough to regular Rust code to trick most IDEs into automatically providing support for things like block selections, folding, highlighting, etc.

To accomodate the transition from HTML to RSX, you might need to translate some existing code.

This library provids a central AST that can accept a number of inputs:

  • HTML
  • Syn (todo)
  • Akama (todo)
  • Jinja (todo)

From there, you can convert directly to a string or into some other AST.

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.