[][src]Function askama::filters::format

pub fn format()

Formats arguments according to the specified format

The first argument to this filter must be a string literal (as in normal Rust). All arguments are passed through to the format!() macro by the Askama code generator.

This example is not tested
{{ "{:?}{:?}" | format(value, other_value) }}

Compare with fmt.