Skip to content
Rico Suter edited this page Oct 20, 2017 · 37 revisions

(this is experimental)

Settings:

  • UseLiquidTemplates (default: false) - Will be removed later
  • TemplateDirectory: Location where template overrides are located (you should override only empty/extension templates).

Location:

Template types:

  • Extension templates (i.e. empty templates): Can be safely overwritten
  • Internal templates (i.e. templates with content): Should be only overwritten for bugfixing (please provide a PR)

Tags:

  • {% template Foo.Bar %}

Filters:

  • {{ foo | tab: 3 }}
  • {{ bar | CSharpDocs }}

Control blocks (if/for/etc.)

  • Either use on one line (without -): foo{% if condition %}bar{% endif %}baz
  • Or on multiple lines (with - at the end):
foo
{% if condition -%}
bar
{% endif -%}
baz

Visual Studio

DotLiquid templates

TextMate

copy to %USERPROFILE%\.vs\Extensions\

https://github.com/Shopify/liquid-tmbundle

rename to liquid.plist

Clone this wiki locally