Ability to provide file content directly in _additional_files.json
You can now pass content for an additional file directly inside _additional_files.json
instead of providing a URL to fetch the file from. To do that use content
inside the source
field:
An example use-case is when you need to create a separate job ticket file for each orderline in the order.
Liquid’s
capture
together with theescape_json
filter can be useful when generated file content needs to be more complex:
Last updated