Closed ekanna closed 6 months ago
Hi, thank you for reporting the issue. With the unreleased version of leptosfmt (cargo install --git https://github.com/bram209/leptosfmt.git
), the default behaviour for handling unknown macros has been improved. It should now preserve the original formatting.
Could you try it and let me know if this solves your issue?
Hi, I have a style! macro inside view! macro to generate scoped css. How to skip formatting this style! macro? Can we do something like
macro_names_to_skip = [style]
For example, from the below code style! macro generates a css file with @scope rule.
My generated css file