Improved the div snippet in html a bit
This commit is contained in:
parent
bb75169301
commit
5fe09b8e3a
@ -167,8 +167,8 @@ snip.rv = snip.fn and 'Hallo' or 'Nothin'
|
|||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet div "XHTML <div>"
|
snippet div "XHTML <div>"
|
||||||
<div${1: id="${2:name}"}>
|
<div`!p snip.rv=' id="' if t[1] else ""`${1:name}`!p snip.rv = '"' if t[1] else ""`>
|
||||||
$0
|
$0
|
||||||
</div>
|
</div>
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user