mirror of
https://github.com/askama-rs/askama.git
synced 2025-10-01 06:51:15 +00:00
17 lines
298 B
Rust
17 lines
298 B
Rust
use askama::Template;
|
|
|
|
#[derive(Template)]
|
|
#[template(source = r#"X{#-#}Y"#, ext = "html")]
|
|
struct Suppress;
|
|
|
|
#[derive(Template)]
|
|
#[template(source = r#"X{#+#}Y"#, ext = "html")]
|
|
struct Preserve;
|
|
|
|
#[derive(Template)]
|
|
#[template(source = r#"X{#~#}Y"#, ext = "html")]
|
|
struct Minimize;
|
|
|
|
fn main() {
|
|
}
|