[−][src]Function askama::filters::fmt
pub fn fmt()
Formats arguments according to the specified format
The second argument to this filter must be a string literal (as in normal
Rust). The two arguments are passed through to the format!()
macro by
the Askama code generator, but the order is swapped to support filter
composition.
ⓘThis example is not tested
{{ value | fmt("{:?}") }}
Compare with format.