math
Format inline math or a math block.
Syntax
1{{ value | math }}Usage
- Multiline data automatically becomes a block delimited by
$$. - Leading and trailing whitespace stays outside inline markers.
- 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 | |