Use templates with context data to generate dynamic PDF content
parts
array, you need to specify a content object with the following structure:
template
to use template rendering{{ variable_name }}
{{ variable_name | upcase }}
{% if condition %}...{% endif %}
for
tags: {% for item in items %}...{% endfor %}
{{ variable }}
{% if condition %}...{% endif %}
{% for item in items %}...{% endfor %}
round
and mathematical operations{% assign variable = value %}