My own configuration files
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
snippet for
|
|
|
|
{% for ${1:record} in ${2:list} %}
|
|
|
|
${3:{# content #}}
|
|
|
|
{% endfor %}
|
|
|
|
snippet if
|
|
|
|
{% if ${1:condition} %}
|
|
|
|
${2:{# content #}}
|
|
|
|
{% endif %}
|
|
|
|
snippet block
|
|
|
|
{% block ${1:blockname} %}
|
|
|
|
${2:{# content #}}
|
|
|
|
{% endblock $1 %}
|
|
|
|
snippet macro
|
|
|
|
{% macro ${1:name}(${2:params}) %}
|
|
|
|
${3:{# content #}}
|
|
|
|
{% endmacro %} {# $1 #}
|
|
|
|
snippet import
|
|
|
|
{% import "${1:filename}" as ${2:namespace}${3: with context} %}
|
|
|
|
snippet modeline
|
|
|
|
{# vim:set ft=htmldjango: #}
|