Ability to provide file content directly in _additional_files.json
[
{
"destination": myfile.txt,
"source": {
"content": "Content for myfile.txt!"
}
}
][ {% for line in orderlines %} {% capture file_content %} Content with newlines and liquid code: {{ line.barcode }} {% endcapture %} { "destination": myfile.txt, "source": { "content": "{{ file_content | escape_json }}" } }{% unless forloop.last %},{% endunless %} {% endfor %} ]
Last updated