Sha256: 8195554a160252ffddc05c067e6459ac18b972f0c1f899ff8af26c1394f7e683

Contents?: true

Size: 864 Bytes

Versions: 11

Compression:

Stored size: 864 Bytes

Contents

# Generic tags

snippet {
	{{ ${1} }}

# Template tags

snippet extends
	{% extends "${1:base.html}" %}
snippet autoescape
	{% autoescape ${1:xhtml_escape | None} %}
snippet apply
	{% apply ${1:function} %}
	  ${2}
	{% end %}
snippet block
	{% block ${1} %}
	  ${2}
	{% end %}
snippet for
	{% for ${1:item} in ${2} %}
	  ${3}
	{% end %}
snippet from
	{% from ${1:x} import ${2:y} %}
snippet if
	{% if ${1:condition} %}
	  ${2}
	{% end %}
snippet elif
	{% elif ${1:condition} %} 
snippet else
	{% else %}
snippet import
	{% import ${1:module} %}
snippet include
	{% include "${1:filename}" %}
snippet module
	{% module ${1:expression} %}
snippet raw
	{% raw ${1:expression} %}
snippet set
	{% set ${1:x} = ${2:y} %}
snippet try
	{% try %}
	  ${1}
	{% except %}
	  ${2}
	{% finallly %}
	  ${3}
	{% end %}
snippet while
	{% while ${1:condition} %}
	  ${2}
	{% end %}

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
gollum-4.1.4 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/htmltornado.snippets
gollum-4.1.3 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/htmltornado.snippets
inc_gollum-4.1.2d lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/htmltornado.snippets
inc_gollum-4.1.2c lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/htmltornado.snippets
gollum-4.1.2 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/htmltornado.snippets
gollum-4.1.1 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/htmltornado.snippets
gollum-4.1.0 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/htmltornado.snippets
gollum-4.0.1 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/htmltornado.snippets
pollypost-0.0.2 vendor/assets/ace-1.1.8/snippets/htmltornado.snippets
gollum-4.0.0 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/htmltornado.snippets
gollum-3.1.3 lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/htmltornado.snippets