File tree 1 file changed +15
-3
lines changed
1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,13 @@ options head
13
13
${0: TARGET }
14
14
{% endblock %}
15
15
16
+ snippet dump
17
+ abbr <pre> {{ dump(...) }} </pre>
18
+ options head
19
+ <pre>
20
+ {{ dump(${0: TARGET } ) }}
21
+ </pre>
22
+
16
23
snippet embed
17
24
abbr {% embed ... %} ... {% endembed %}
18
25
options head
@@ -50,7 +57,7 @@ options head
50
57
snippet from
51
58
abbr {% from '...' import ... %}
52
59
options head
53
- {% from '${1: #:module } ' import ${2: #:macro } }
60
+ {% from '${1: #:module } ' import ${2: #:macro } % }
54
61
55
62
snippet if
56
63
abbr {% if ... %} ... {% endif %}
@@ -75,12 +82,17 @@ options head
75
82
snippet import
76
83
abbr {% import '...' as ... %}
77
84
options head
78
- {% import '${1: #:module } ' as ${2: #:namespace } }
85
+ {% import '${1: #:module } ' as ${2: #:namespace } % }
79
86
80
87
snippet include
81
88
abbr {% include '...' %}
82
89
options head
83
- {% include '${1: #:template } '}
90
+ {% include '${1: #:template } ' %}
91
+
92
+ snippet includewith
93
+ abbr {% include '...' %}
94
+ options head
95
+ {% include '${1: #:template } ' with {${2: #:'key' } : ${2: #:'value' } } %}
84
96
85
97
snippet macro
86
98
abbr {% macro ...(...) %} ... {% endmacro %}
You can’t perform that action at this time.
0 commit comments