*description*
(r)st macros for h(tml) expansion => rtml
*usage*
```rust fn main() { use rtml::*; // Use the macros to generate some HTML let html = html! { .lang = "en", head!{ title!{ "Title of the document" } }, body!{ div!{ "text", h1!{ "This is a heading" }, p!{ "This is a paragraph" } } } };
println!("{}", html);
} ```
the output html will be. ```html
This is a paragraph.
```
When there are attributes, they go first, before adding any inner nested html.
*conditional expressions*
See divs example for conditional expressions
*note*
Although very easy to use, it is not complete, no global attributes or global events are on any of the html tags yet. So even very simple things like style are not yet included on any of the tags
I have much larger plans for creating component systems where you can do server side, or spa like behavior, you will be able to write rust methods which will generate wasm or javascript, etc.