yo-html 0.1.1

JSX-like macro similar to what you can find in React or Yew but without framework nor trait.
Documentation
pub mod yo_ssr_web_framework;

fn main() {
    use yo_ssr_web_framework::prelude::*;

    let html = html! {
        {"Hello world!"}
    };

    println!("{}", html.to_string());

    let html = html! {
        <div>
            <h1 class=["title", "big"] style="display:block" {"stuff"}="thing">
                {"Hello world!"}
            </h1>
        </div>
    };

    println!("{}", html.to_string());

    let html = html! {
        <>
        <div>
            <h1>{"Hello"}</h1>
        </div>
        <div>
            <h1>{"world!"}</h1>
        </div>
        </>
    };

    println!("{}", html.to_string());

    let html = html! {
        <MyComponent />
    };

    println!("{}", html.to_string());
}