Serialize
Render values as JSON, YAML, and Markdown.
Serialize
jsonSerializes a value to a compact JSON string.{{ user | json }}markdownConverts an HTML string to Markdown, so a fetched page or a rich-text
field can be reduced to plain prose a later step can store or render.{{ body | markdown }}yamlSerializes a value as YAML, so a map assembled in a template can be
written out as a config file or a manifest.{{ config | yaml }}