let


Liquid source
{%- raw -%}
{% assign text = "My text" %}
{{ settings }}
{{ text }}
{%- endraw -%}
    
HTML output
{% assign text = "My text" %}
{{ settings }}
{{ text -}}
    
Liquid source
    {%- raw -%}
{% let (text, font): settings %}
  text: {{ text }},
  font: {{ font }}
{% endlet %}
    {%- endraw -%}
    
HTML output
{%- let (text, font): settings %}
  text: {{ text }},
  font: {{ font }}
{% endlet -%}
    
Liquid source
    {%- raw -%}
{% let font: settings.font %}
  text: {{ text }},
  font: {{ font }}
{% endlet %}
    {%- endraw -%}
    
HTML output
{%- let font: settings.font %}
  text: {{ text }},
  font: {{ font }}
{% endlet -%}
    
Liquid source
    {%- raw -%}
Global is not impacted:
  - text: {{ text }},
  - font: {{ font }}
    {%- endraw -%}
    
HTML output
Global is not impacted:
  - text: {{ text }},
  - font: {{ font }}