34 lines
505 B
Plaintext
34 lines
505 B
Plaintext
|
extends html
|
||
|
|
||
|
snippet com "{# .. #}"
|
||
|
{# $0 #}
|
||
|
endsnippet
|
||
|
|
||
|
snippet import "{% import ... %}"
|
||
|
{% import "$1" as $2 %}
|
||
|
endsnippet
|
||
|
|
||
|
snippet macro "{% macro ...%}"
|
||
|
{% macro $1(${2:$3="$4"}) %}
|
||
|
$0
|
||
|
{% endmacro %}
|
||
|
endsnippet
|
||
|
|
||
|
snippet blockin "{% block .. %}"
|
||
|
{% block $1 %}$0{% endblock %}
|
||
|
endsnippet
|
||
|
|
||
|
snippet block "{% block .. %}"
|
||
|
{% block $1 %}
|
||
|
$0
|
||
|
{% endblock %}
|
||
|
endsnippet
|
||
|
|
||
|
snippet include "{% include .. %}"
|
||
|
{% include "$0" %}
|
||
|
endsnippet
|
||
|
|
||
|
snippet extends "{% extends .. %}"
|
||
|
{% extends "$0" %}
|
||
|
endsnippet
|