comment
Wrap text in comment markers.
Syntax
1{{ value | comment }}Usage
- Multiline comments put the opening and closing
%%markers on separate lines. - 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 | |