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.
 
 
 
 

125 lines
1.2 KiB

snippet for
{% for ${1:item} in ${2:list} %}
$0
{% endfor %}
endsnippet
snippet if
{% if ${1:condition} %}
$0
{% endif %}
endsnippet
snippet else
{% else %}
endsnippet
snippet elif
{% elif ${1:condition} %}
endsnippet
snippet extends
{% extends "$1" %}
endsnippet
snippet block
{% block $1 %}
{% endblock %}
endsnippet
snippet div
<div$0>
</div>
endsnippet
snippet div.
<div class="$0">
</div>
endsnippet
snippet table
<table>
$0
</table>
endsnippet
snippet table.
<table class="$0">
</table>
endsnippet
snippet thead
<thead>
$0
</thead>
endsnippet
snippet tr
<tr>
$0
</tr>
endsnippet
snippet tr.
<tr class="$0">
</tr>
endsnippet
snippet td
<td>$0</td>
endsnippet
snippet th
<th>$0</th>
endsnippet
snippet tbody
<tbody>
$0
</tbody>
endsnippet
snippet h1
<h1>$0</h1>
endsnippet
snippet h2
<h2>$0</h2>
endsnippet
snippet h3
<h3>$0</h3>
endsnippet
snippet h3.
<h3 class="$0"></h3>
endsnippet
snippet button
<button>$0</button>
endsnippet
snippet button.
<button class="$0"></button>
endsnippet
snippet span
<span>$0</span>
endsnippet
snippet span.
<span class="$0"></span>
endsnippet
snippet form
<form action="$1" method="POST">
$0
</form>
endsnippet
snippet form.
<form action="$1" class="$2" method="POST">
$0
</form>
endsnippet