tailwindcss/crates
Robin Malfait 85575a41f4
Add Maud templating support (#18988)
This PR adds support for Maud templates in Rust.

We already had some pre-processing for Rust but for Leptos `class:`
syntax. This PR now added a dedicated Rust pre-processor that handles
Leptos and Maud syntax.

We only start pre-processing Maud templates if the Rust file includes
the `html!` macro.

## Test plan

Looking at the extractor, you can see that we now do extract the proper
classes in Maud templates:

<img width="1076" height="1856" alt="image"
src="https://github.com/user-attachments/assets/e649e1de-289e-466f-8fab-44a938a47dd5"
/>


Fixes: #18984
2025-09-24 11:33:01 +00:00
..
classification-macros Improve boundary classification (#17005) 2025-03-07 00:00:54 +00:00
ignore Ignore binary extensions, except in folder names (#17595) 2025-04-12 13:30:17 +02:00
node Bump napi toolchain to 3.3 (#18947) 2025-09-19 17:08:41 +02:00
oxide Add Maud templating support (#18988) 2025-09-24 11:33:01 +00:00