tera-text-filters 1.0.0

Text transformation filters for the Tera template engine.
Documentation

tera-text-filters

crates.io crates.io Documentation

Text transformation filters for the Tera template engine.

Usage

use tera::Tera;
use tera_text_filters::camel_case;

let mut tera = Tera::default();
tera.register_filter("camel_case", camel_case);

Alternatively, you can register all filters at once:

use tera::Tera;
use tera_text_filters::register_all;

let mut tera = Tera::default();
register_all(&mut tera);

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.