plait-macros
Procedural macros for the plait HTML templating library.
This crate provides three macros for generating HTML:
html!- Creates anHtmlvalue from a templaterender!- Renders content to an existingHtmlFormatterattrs!- Creates anAttributescollection
These macros are re-exported by the main plait crate and should typically be used from there rather than
directly from this crate.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE)
- MIT license (LICENSE-MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.