• csv filter
    : Now accepts an optional
    delimiter
    argument, defaulting to a comma.
  • parse_csv filter
    : Now accepts a
    delimiter
    option, defaulting to a comma and a
    headers
    option to interpret the first line as headers.
Example Usage
csv filter
Default usage
(no arguments):
{% assign csv = rows | csv %}
With custom delimiter
:
{% assign csv = rows | csv: ";" %}
parse_csv filter
Default usage
(no arguments):
{% assign orders = csv_string | parse_csv %}
With headers only
:
{% assign orders = csv_string | parse_csv: headers: true %}
With custom delimiter only
:
{% assign orders = csv_string | parse_csv: delimiter: ";" %}
With headers and custom delimiter
:
{% assign orders = csv_string | parse_csv: headers: true, delimiter: ";" %}