@@ -162,59 +162,67 @@ endsnippet
162
162
163
163
snippet body " <body>"
164
164
<body>
165
- $0
165
+ ${0 : ${VISUAL} }
166
166
</body>
167
167
endsnippet
168
168
169
169
snippet div " <div>" w
170
170
<div>
171
- $0
171
+ ${0 : ${VISUAL} }
172
172
</div>
173
173
endsnippet
174
174
175
175
snippet div. " <div> with class" w
176
176
<div`!p snip.rv= ' class="' if t[1 ] else " " ` ${1: name } `!p snip.rv = ' "' if t[1 ] else " " ` >
177
- $0
177
+ ${0 : ${VISUAL} }
178
178
</div>
179
179
endsnippet
180
180
181
181
snippet div# " <div> with ID & class" w
182
182
<div`!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 " " ` >
183
- $0
183
+ ${0 : ${VISUAL} }
184
184
</div>
185
185
endsnippet
186
186
187
187
snippet form " XHTML <form>" w
188
188
<form action="${1: `!p
189
189
snip.rv = (snip.basename or 'unnamed') + '_submit'
190
190
` } " method="${2: get } " accept-charset="utf-8">
191
- $0
191
+ ${0 : ${VISUAL} }
192
192
193
193
<p><input type="submit" value="Continue →"`!p x(snip) ` ></p>
194
194
</form>
195
195
endsnippet
196
196
197
197
snippet h1 " XHTML <h1>" w
198
- <h1>$0 </h1>
198
+ <h1>${0 : ${VISUAL} } </h1>
199
199
endsnippet
200
200
201
201
snippet h2 " XHTML <h2>" w
202
- <h2>$0 </h2>
202
+ <h2>${0 : ${VISUAL} } </h2>
203
203
endsnippet
204
204
205
205
snippet h3 " XHTML <h3>" w
206
- <h3>$0 </h3>
206
+ <h3>${0 : ${VISUAL} } </h3>
207
207
endsnippet
208
208
209
209
snippet h4 " XHTML <h4>" w
210
- <h4>$0 </h4>
210
+ <h4>${0: ${VISUAL} } </h4>
211
+ endsnippet
212
+
213
+ snippet h5 " XHTML <h5>" w
214
+ <h5>${0: ${VISUAL} } </h5>
215
+ endsnippet
216
+
217
+ snippet h6 " XHTML <h6>" w
218
+ <h6>${0: ${VISUAL} } </h6>
211
219
endsnippet
212
220
213
221
snippet head " XHTML <head>"
214
222
<head>
215
223
<meta charset="utf-8">
216
224
<title>${1: `!p snip.rv = snip.basename or "Page Title"` } </title>
217
- $0
225
+ ${0 : ${VISUAL} }
218
226
</head>
219
227
endsnippet
220
228
@@ -232,13 +240,13 @@ endsnippet
232
240
233
241
snippet script " XHTML <script>" w
234
242
<script type="text/javascript" charset="utf-8">
235
- $0
243
+ ${0 : ${VISUAL} }
236
244
</script>
237
245
endsnippet
238
246
239
247
snippet style " XHTML <style>" w
240
248
<style type="text/css" media="screen">
241
- $0
249
+ ${0 : ${VISUAL} }
242
250
</style>
243
251
endsnippet
244
252
@@ -254,29 +262,29 @@ snippet a "Link" w
254
262
endsnippet
255
263
256
264
snippet p " paragraph" w
257
- <p>$0 </p>
265
+ <p>${0 : ${VISUAL} } </p>
258
266
endsnippet
259
267
260
268
snippet li " list item" w
261
- <li>$0 </li>
269
+ <li>${0 : ${VISUAL} } </li>
262
270
endsnippet
263
271
264
272
snippet ul " unordered list" w
265
273
<ul>
266
- $0
274
+ ${0 : ${VISUAL} }
267
275
</ul>
268
276
endsnippet
269
277
270
278
snippet td " table cell" w
271
- <td>$0 </td>
279
+ <td>${0 : ${VISUAL} } </td>
272
280
endsnippet
273
281
274
282
snippet th " table header" w
275
- <th>$0 </th>
283
+ <th>${0 : ${VISUAL} } </th>
276
284
endsnippet
277
285
278
286
snippet tr " table row" w
279
- <tr>$0 </tr>
287
+ <tr>${0 : ${VISUAL} } </tr>
280
288
endsnippet
281
289
282
290
snippet title " XHTML <title>" w
@@ -286,7 +294,7 @@ endsnippet
286
294
snippet fieldset " Fieldset" w
287
295
<fieldset id="${1 / [\w \d ]+ | ( ) / (? 1:_:\L $ 0\E ) / g }" ${2: class="${3: } " } >
288
296
<legend>$1 </legend>
289
- $0
297
+ ${0 : ${VISUAL} }
290
298
</fieldset>
291
299
endsnippet
292
300
0 commit comments