Skip to content
This repository was archived by the owner on Dec 9, 2025. It is now read-only.
This repository was archived by the owner on Dec 9, 2025. It is now read-only.

Add missing snippets #4

Description

@everyonesdesign

Missing snippets are:

  • set
  • with

set

Note that set can be used as

{% set a = 'Hello, bear!' %}

as well as

{% set a %}Hello, bear!{% endset %}

with

with also has 2 forms.
First version syntax is

{% with a='Hello, bear!' %}{% endwith %}

and the second one (scope restricting) is

{% with %}
    {% set a='Hello, bear!' %}
{% endwith %}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions