overleaf/services/web/public/js/ace/snippets/haml.snippets

21 lines
304 B
Text
Raw Normal View History

2014-02-12 10:23:40 +00:00
snippet t
%table
%tr
%th
${1:headers}
%tr
%td
${2:headers}
snippet ul
%ul
%li
${1:item}
%li
snippet =rp
= render :partial => '${1:partial}'
snippet =rpl
= render :partial => '${1:partial}', :locals => {}
snippet =rpc
= render :partial => '${1:partial}', :collection => @$1