templating 0.1.1

Simple HTML templating for Rust.
Documentation
use templating::html;

// solves the greatest computer science problem up to 2*n numbers
fn create_is_even(n: usize) -> String {
    html! {
        <script>
            ("function isEven(n) {")
                ("if (n == 0) {")
                    return true;
                ("}")
                {
                    for i in 1..n {
                        html! {
                            ("else if (n == ")(i * 2)(") {")
                                return true;
                            ("}")
                        }
                    }
                }
                return false;
            ("}")
        </script>
    }
}

fn main() {
    println!("{}", create_is_even(20));
}