File tree Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 22
33See below for details of all version changes and upgrades.
44
5+ ## [ v1.2]
6+
7+ - Added Jinja comment snippet as per [ issue #4 ] ( https://github.com/EndlessTrax/python-template-snippets/issues/4 )
8+
59## [ v1.1]
610
711- Added ` {% include ' ' %} ` snippet for Django templates
Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ Prefix | Output
5151-------|-------
5252ptj-url | {{ url_for('static', filename=' ` * ` ') }}
5353ptj-mac | {% macro ` * ` %} {% endmacro %}
54+ ptj-com | {# ` * ` #}
5455
5556### Django Specific Snippets
5657
Original file line number Diff line number Diff line change 1717 " {% endmacro %}"
1818 ],
1919 "description" : " Adds macro tags"
20+ },
21+
22+ "Jinja - Comments" : {
23+ "scope" : " html" ,
24+ "prefix" : " ptj-com" ,
25+ "body" : [
26+ " {# $0 #}"
27+ ],
28+ "description" : " Adds Jinja comment"
2029 }
2130}
You can’t perform that action at this time.
0 commit comments