Sha256: 7149101f7c6f866e0374c4eb300122eee8395dec6be683e2ec491656235db7cb

Contents?: true

Size: 862 Bytes

Versions: 5

Compression:

Stored size: 862 Bytes

Contents

# This is an example file. Process it with `./pygmentize -O full -f html -o /liquid-example.html example.liquid`.

{% raw %}
some {{raw}} liquid syntax

{% raw %}
{% endraw %}

Just regular text - what happens?

{% comment %}My lovely {{comment}} {% comment %}{% endcomment %}

{% custom_tag params: true %}
{% custom_block my="abc" c = false %}
	Just usual {{liquid}}.
{% endcustom_block %}

{% another_tag "my string param" %}

{{ variable | upcase }}
{{ var.field | textilize | markdownify }}
{{ var.field.property | textilize | markdownify }}
{{ 'string' | truncate: 100 param='df"g' }}

{% cycle '1', 2, var %}
{% cycle 'group1': '1', var, 2 %}
{% cycle group2: '1', var, 2 %}

{% if a == 'B' %}
{% elsif a == 'C%}' %}
{% else %}
{% endif %}

{% unless not a %}
{% else %}
{% endunless %}

{% case a %}
{% when 'B' %}
{% when 'C' %}
{% else %}
{% endcase %}

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
tdiary-4.2.1 vendor/bundle/ruby/2.2.0/gems/pygments.rb-0.6.3/vendor/pygments-main/tests/examplefiles/example.liquid
pygments.rb-0.6.3 vendor/pygments-main/tests/examplefiles/example.liquid
pygments.rb-0.6.2 vendor/pygments-main/tests/examplefiles/example.liquid
pygments.rb-0.6.1 vendor/pygments-main/tests/examplefiles/example.liquid
pygments.rb-0.6.0 vendor/pygments-main/tests/examplefiles/example.liquid