math_block
Create a block math expression.
Syntax
1{{ value | math_block }}Usage
- Use this filter to explicitly create a math block. The
mathfilter defaults to inline math using a single$, and automatically uses$$block fences for multiline values. - For arrays and objects, including serialized collections from another filter, string values are formatted recursively while keys and non-string values are preserved.
Example
Open in Playground| Data | |
|---|---|
| Template | |
| Output | |