1. Home
  2. ›
  3. Liquid
  4. ›
  5. Inspect

Converts a variable to a string. Useful while debugging.

#liquid#filter
 {{  page.tags | inspect }}

Output:
["liquid", "filter"]
copy
Full Liquid cheatsheet