Skip to content

Commit

Permalink
update reamde
Browse files Browse the repository at this point in the history
  • Loading branch information
aubm committed Oct 10, 2014
1 parent 91cb482 commit 7c3fb17
Showing 1 changed file with 84 additions and 1 deletion.
85 changes: 84 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,87 @@ Usage
$DEFAUILT$
break;
}
$END$
$END$

## Twig ##

**Block**

`block`

{% block $NAME$ %}
$END$
{% endblock %}

**Extends**

`extends`

{% extends '$PARENT$' %}
$END$

**Filter**

`filter`

{% filter $NAME$ %}
$END$
{% endfilter %}

**For**

`for`

{% for $ELEMENT$ in $ARRAY$ %}
$END$
{% endfor %}

**From**

`from`

{% from '$FILE$' import $ELEMENT$ as $ALIAS$ %}
$END$

**If**

`if`

{% if $COND$ %}
$END$
{% endif %}

**Import**

`import`

{% import '$FILE$' as $ALIAS$ %}
$END$

**Include**

`include`

{% include '$FILE$' %}$END$

**Macro**

`macro`

{% macro $NAME$($ARGS$) %}
$END$
{% endmacro %}

**Set**

`set`

{% set $NAME$ = $VALUE$ %}$END$

**Spaceless**

`spaceless`

{% spaceless %}
$END$
{% endspaceless %}

0 comments on commit 7c3fb17

Please sign in to comment.