origami-engine 0.1.3-alpha.6

A templating engine for rust
Documentation

origami-engine

Origami Engine is a templating engine focused on modularity, designed for efficient HTML generation with powerful macros.

Features

  • Focused on modularity for easy extensibility
  • Support for expressions, conditionals, loops, and match expressions

Basic Example

use origami_engine::comp;

comp! {
    greeting =>
    div {
        "Hello, World!"
    }
}

let html = greeting!();
assert_eq!(html.0, "<div>Hello, World!</div>");

Documentation

For comprehensive documentation and usage instructions, please visit docs.rs.

License

This project is licensed under the MIT License or the Apache License 2.0. See the LICENSE-MIT and LICENSE-APACHE files for details.