Merge pull request #774 from jpgeek/add-html-span
added span, span. and span#
This commit is contained in:
commit
5c311010dc
@ -239,6 +239,18 @@ snippet script "XHTML <script>" w
|
|||||||
</script>
|
</script>
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
snippet span "<span>" w
|
||||||
|
<span> ${0:${VISUAL}} </span>
|
||||||
|
endsnippet
|
||||||
|
|
||||||
|
snippet span. "<span> with class" w
|
||||||
|
<span`!p snip.rv=' class="' if t[1] else ""`${1:name}`!p snip.rv = '"' if t[1] else ""`> ${0:${VISUAL}} </span>
|
||||||
|
endsnippet
|
||||||
|
|
||||||
|
snippet span# "<span> with ID & class" w
|
||||||
|
<span`!p snip.rv=' id="' if t[1] else ""`${1:name}`!p snip.rv = '"' if t[1] else ""``!p snip.rv=' class="' if t[2] else ""`${2:name}`!p snip.rv = '"' if t[2] else ""`> ${0:${VISUAL}} </span>
|
||||||
|
endsnippet
|
||||||
|
|
||||||
snippet style "XHTML <style>" w
|
snippet style "XHTML <style>" w
|
||||||
<style type="text/css" media="screen">
|
<style type="text/css" media="screen">
|
||||||
${0:${VISUAL}}
|
${0:${VISUAL}}
|
||||||
|
Loading…
Reference in New Issue
Block a user