update
This commit is contained in:
parent
995ecca61e
commit
66b69aa661
|
@ -0,0 +1,33 @@
|
|||
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
|
Loading…
Reference in New Issue