maud icon indicating copy to clipboard operation
maud copied to clipboard

:pencil: Compile-time HTML templates for Rust

Results 75 maud issues
Sort by recently updated
recently updated
newest added

just a quick question - any tips on how to configure IntelliJ (CLion) so that it formats code inside the `html!` macro? Thanks!

Currently only the value of an attribute can have a dynamic value, having the ability to not just set the value but also the attribute name/type would be useful. What...

enhancement
needs feedback

Current main is broken on Windows due to [maud_macros/src/escape.rs](https://github.com/lambda-fairy/maud/blob/main/maud_macros/src/escape.rs) being a symlink, [which is broken on Windows](https://github.com/rust-lang/cargo/issues/5664). The obvious fix would be to copy-and-paste the contents over, but perhaps there's...

bug

I'm using tailwindcss, it uses a lot of classes that are annoying to write in rust/maud: `mt-8`, `space-y-6` etc... So, I usually resort to write `div class="mt-8 space-y-6"`, and sometimes...

enhancement

This supersedes #258 and depends on the `v0.5.0-rc.1` tag of rocket, also contains the latest `main` branch changes, resulting in a pleasantly small diff. As rocket 0.5 is still unreleased,...

Follow-up to #271. I see there are many use cases like `bytesize` and `chrono` that would benefit from this.

enhancement

Now that we're getting a handful of PRs adding these, I think it would be good to define which web frameworks should and shouldn't be integrated into Maud.

needs feedback

Notably Bootstrap has alot of classes like `mx-4`, `px-3`, `gy-2`.

needs feedback

The current `PreEscaped` API has a few issues: - The `PreEscaped` / `Markup` naming was lifted from [`blaze-markup`](https://hackage.haskell.org/package/blaze-markup), which supports both HTML and XML. But Maud was always HTML-only, and...

enhancement
needs feedback