PluginProbe
Code Block Pro – Beautiful Syntax Highlighting / 1.13.0
Code Block Pro – Beautiful Syntax Highlighting v1.13.0
1.27.1 1.27.2 1.27.3 1.27.4 1.27.5 1.27.6 1.27.7 1.28.0 1.3.0 1.4.0 1.5.0 1.5.1 1.5.2 1.6.0 1.7.0 1.8.0 1.9.0 1.9.1 1.9.2 1.9.3 trunk 1.1.0 1.10.0 1.11.0 1.11.1 All 63 releases
code-block-pro / build / shiki / languages / vue-html.tmLanguage.json

vue-html.tmLanguage.json in Code Block Pro – Beautiful Syntax Highlighting 1.13.0, at build/shiki/languages/vue-html.tmLanguage.json

559 lines 13.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "name": "vue-html",
3 "scopeName": "text.html.vue-html",
4 "fileTypes": [],
5 "uuid": "ca2e4260-5d62-45bf-8cf1-d8b5cc19c8f8",
6 "patterns": [
7 {
8 "include": "source.vue#vue-interpolations"
9 },
10 {
11 "name": "meta.tag.any.html",
12 "begin": "(<)([A-Z][a-zA-Z0-9:-]*)(?=[^>]*></\\2>)",
13 "beginCaptures": {
14 "1": {
15 "name": "punctuation.definition.tag.begin.html"
16 },
17 "2": {
18 "name": "support.class.component.html"
19 }
20 },
21 "end": "(>)(<)(/)(\\2)(>)",
22 "endCaptures": {
23 "1": {
24 "name": "punctuation.definition.tag.end.html"
25 },
26 "2": {
27 "name": "punctuation.definition.tag.begin.html meta.scope.between-tag-pair.html"
28 },
29 "3": {
30 "name": "punctuation.definition.tag.begin.html"
31 },
32 "4": {
33 "name": "support.class.component.html"
34 },
35 "5": {
36 "name": "punctuation.definition.tag.end.html"
37 }
38 },
39 "patterns": [
40 {
41 "include": "#tag-stuff"
42 }
43 ]
44 },
45 {
46 "name": "meta.tag.any.html",
47 "begin": "(<)([a-z][a-zA-Z0-9:-]*)(?=[^>]*></\\2>)",
48 "beginCaptures": {
49 "1": {
50 "name": "punctuation.definition.tag.begin.html"
51 },
52 "2": {
53 "name": "entity.name.tag.html"
54 }
55 },
56 "end": "(>)(<)(/)(\\2)(>)",
57 "endCaptures": {
58 "1": {
59 "name": "punctuation.definition.tag.end.html"
60 },
61 "2": {
62 "name": "punctuation.definition.tag.begin.html meta.scope.between-tag-pair.html"
63 },
64 "3": {
65 "name": "punctuation.definition.tag.begin.html"
66 },
67 "4": {
68 "name": "entity.name.tag.html"
69 },
70 "5": {
71 "name": "punctuation.definition.tag.end.html"
72 }
73 },
74 "patterns": [
75 {
76 "include": "#tag-stuff"
77 }
78 ]
79 },
80 {
81 "name": "meta.tag.preprocessor.xml.html",
82 "begin": "(<\\?)(xml)",
83 "end": "(\\?>)",
84 "captures": {
85 "1": {
86 "name": "punctuation.definition.tag.html"
87 },
88 "2": {
89 "name": "entity.name.tag.xml.html"
90 }
91 },
92 "patterns": [
93 {
94 "include": "#tag-generic-attribute"
95 },
96 {
97 "include": "#string-double-quoted"
98 },
99 {
100 "include": "#string-single-quoted"
101 }
102 ]
103 },
104 {
105 "name": "comment.block.html",
106 "begin": "<!--",
107 "end": "-->",
108 "captures": {
109 "0": {
110 "name": "punctuation.definition.comment.html"
111 }
112 }
113 },
114 {
115 "name": "meta.tag.sgml.html",
116 "begin": "<!",
117 "end": ">",
118 "captures": {
119 "0": {
120 "name": "punctuation.definition.tag.html"
121 }
122 },
123 "patterns": [
124 {
125 "name": "meta.tag.sgml.doctype.html",
126 "begin": "(?i:DOCTYPE)",
127 "end": "(?=>)",
128 "captures": {
129 "1": {
130 "name": "entity.name.tag.doctype.html"
131 }
132 },
133 "patterns": [
134 {
135 "name": "string.quoted.double.doctype.identifiers-and-DTDs.html",
136 "match": "\"[^\">]*\""
137 }
138 ]
139 },
140 {
141 "name": "constant.other.inline-data.html",
142 "begin": "\\[CDATA\\[",
143 "end": "]](?=>)"
144 },
145 {
146 "name": "invalid.illegal.bad-comments-or-CDATA.html",
147 "match": "(\\s*)(?!--|>)\\S(\\s*)"
148 }
149 ]
150 },
151 {
152 "name": "meta.tag.block.any.html",
153 "begin": "(</?)([A-Z][a-zA-Z0-9:-]*\\b)",
154 "beginCaptures": {
155 "1": {
156 "name": "punctuation.definition.tag.begin.html"
157 },
158 "2": {
159 "name": "support.class.component.html"
160 }
161 },
162 "end": "(>)",
163 "endCaptures": {
164 "1": {
165 "name": "punctuation.definition.tag.end.html"
166 }
167 },
168 "patterns": [
169 {
170 "include": "#tag-stuff"
171 }
172 ]
173 },
174 {
175 "name": "meta.tag.block.any.html",
176 "begin": "(</?)([a-z][a-zA-Z0-9:-]*\\b)",
177 "beginCaptures": {
178 "1": {
179 "name": "punctuation.definition.tag.begin.html"
180 },
181 "2": {
182 "name": "entity.name.tag.block.any.html"
183 }
184 },
185 "end": "(>)",
186 "endCaptures": {
187 "1": {
188 "name": "punctuation.definition.tag.end.html"
189 }
190 },
191 "patterns": [
192 {
193 "include": "#tag-stuff"
194 }
195 ]
196 },
197 {
198 "name": "meta.tag.structure.any.html",
199 "begin": "(</?)((?i:body|head|html)\\b)",
200 "end": "(>)",
201 "endCaptures": {
202 "1": {
203 "name": "punctuation.definition.tag.end.html"
204 }
205 },
206 "captures": {
207 "1": {
208 "name": "punctuation.definition.tag.begin.html"
209 },
210 "2": {
211 "name": "entity.name.tag.structure.any.html"
212 }
213 },
214 "patterns": [
215 {
216 "include": "#tag-stuff"
217 }
218 ]
219 },
220 {
221 "name": "meta.tag.block.any.html",
222 "begin": "(</?)((?i:address|blockquote|dd|div|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|menu|pre)(?!-)\\b)",
223 "beginCaptures": {
224 "1": {
225 "name": "punctuation.definition.tag.begin.html"
226 },
227 "2": {
228 "name": "entity.name.tag.block.any.html"
229 }
230 },
231 "end": "(>)",
232 "endCaptures": {
233 "1": {
234 "name": "punctuation.definition.tag.end.html"
235 }
236 },
237 "patterns": [
238 {
239 "include": "#tag-stuff"
240 }
241 ]
242 },
243 {
244 "name": "meta.tag.inline.any.html",
245 "begin": "(</?)((?i:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|q|s|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var)(?!-)\\b)",
246 "beginCaptures": {
247 "1": {
248 "name": "punctuation.definition.tag.begin.html"
249 },
250 "2": {
251 "name": "entity.name.tag.inline.any.html"
252 }
253 },
254 "end": "(/?>)",
255 "endCaptures": {
256 "1": {
257 "name": "punctuation.definition.tag.end.html"
258 }
259 },
260 "patterns": [
261 {
262 "include": "#tag-stuff"
263 }
264 ]
265 },
266 {
267 "name": "meta.tag.other.html",
268 "begin": "(</?)([a-zA-Z0-9:-]+)",
269 "beginCaptures": {
270 "1": {
271 "name": "punctuation.definition.tag.begin.html"
272 },
273 "2": {
274 "name": "entity.name.tag.other.html"
275 }
276 },
277 "end": "(/?>)",
278 "endCaptures": {
279 "1": {
280 "name": "punctuation.definition.tag.end.html"
281 }
282 },
283 "patterns": [
284 {
285 "include": "#tag-stuff"
286 }
287 ]
288 },
289 {
290 "include": "#entities"
291 },
292 {
293 "name": "invalid.illegal.incomplete.html",
294 "match": "<>"
295 },
296 {
297 "name": "invalid.illegal.bad-angle-bracket.html",
298 "match": "<"
299 }
300 ],
301 "repository": {
302 "entities": {
303 "patterns": [
304 {
305 "name": "constant.character.entity.html",
306 "match": "(&)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)",
307 "captures": {
308 "1": {
309 "name": "punctuation.definition.entity.html"
310 },
311 "3": {
312 "name": "punctuation.definition.entity.html"
313 }
314 }
315 },
316 {
317 "name": "invalid.illegal.bad-ampersand.html",
318 "match": "&"
319 }
320 ]
321 },
322 "string-double-quoted": {
323 "name": "string.quoted.double.html",
324 "begin": "\"",
325 "beginCaptures": {
326 "0": {
327 "name": "punctuation.definition.string.begin.html"
328 }
329 },
330 "end": "\"",
331 "endCaptures": {
332 "0": {
333 "name": "punctuation.definition.string.end.html"
334 }
335 },
336 "patterns": [
337 {
338 "include": "source.vue#vue-interpolations"
339 },
340 {
341 "include": "#entities"
342 }
343 ]
344 },
345 "string-single-quoted": {
346 "name": "string.quoted.single.html",
347 "begin": "'",
348 "beginCaptures": {
349 "0": {
350 "name": "punctuation.definition.string.begin.html"
351 }
352 },
353 "end": "'",
354 "endCaptures": {
355 "0": {
356 "name": "punctuation.definition.string.end.html"
357 }
358 },
359 "patterns": [
360 {
361 "include": "source.vue#vue-interpolations"
362 },
363 {
364 "include": "#entities"
365 }
366 ]
367 },
368 "tag-generic-attribute": {
369 "name": "entity.other.attribute-name.html",
370 "match": "(?<=[^=])\\b([a-zA-Z0-9:\\-_]+)"
371 },
372 "tag-id-attribute": {
373 "name": "meta.attribute-with-value.id.html",
374 "begin": "\\b(id)\\b\\s*(=)",
375 "end": "(?!\\G)(?<='|\"|[^\\s<>/])",
376 "captures": {
377 "1": {
378 "name": "entity.other.attribute-name.id.html"
379 },
380 "2": {
381 "name": "punctuation.separator.key-value.html"
382 }
383 },
384 "patterns": [
385 {
386 "name": "string.quoted.double.html",
387 "contentName": "meta.toc-list.id.html",
388 "begin": "\"",
389 "beginCaptures": {
390 "0": {
391 "name": "punctuation.definition.string.begin.html"
392 }
393 },
394 "end": "\"",
395 "endCaptures": {
396 "0": {
397 "name": "punctuation.definition.string.end.html"
398 }
399 },
400 "patterns": [
401 {
402 "include": "source.vue#vue-interpolations"
403 },
404 {
405 "include": "#entities"
406 }
407 ]
408 },
409 {
410 "name": "string.quoted.single.html",
411 "contentName": "meta.toc-list.id.html",
412 "begin": "'",
413 "beginCaptures": {
414 "0": {
415 "name": "punctuation.definition.string.begin.html"
416 }
417 },
418 "end": "'",
419 "endCaptures": {
420 "0": {
421 "name": "punctuation.definition.string.end.html"
422 }
423 },
424 "patterns": [
425 {
426 "include": "source.vue#vue-interpolations"
427 },
428 {
429 "include": "#entities"
430 }
431 ]
432 },
433 {
434 "name": "string.unquoted.html",
435 "match": "(?<==)(?:[^\\s<>/'\"]|/(?!>))+",
436 "captures": {
437 "0": {
438 "name": "meta.toc-list.id.html"
439 }
440 }
441 }
442 ]
443 },
444 "tag-stuff": {
445 "patterns": [
446 {
447 "include": "#vue-directives"
448 },
449 {
450 "include": "#tag-id-attribute"
451 },
452 {
453 "include": "#tag-generic-attribute"
454 },
455 {
456 "include": "#string-double-quoted"
457 },
458 {
459 "include": "#string-single-quoted"
460 },
461 {
462 "include": "#unquoted-attribute"
463 }
464 ]
465 },
466 "unquoted-attribute": {
467 "name": "string.unquoted.html",
468 "match": "(?<==)(?:[^\\s<>/'\"]|/(?!>))+"
469 },
470 "vue-directives": {
471 "name": "meta.directive.vue",
472 "begin": "(?:\\b(v-)|(:|@|#))([a-zA-Z0-9\\-_]+)(?:\\:([a-zA-Z\\-_]+))?(?:\\.([a-zA-Z\\-_]+))*\\s*(=)",
473 "end": "(?<='|\")|(?=[\\s<>`])",
474 "captures": {
475 "1": {
476 "name": "entity.other.attribute-name.html"
477 },
478 "2": {
479 "name": "punctuation.separator.key-value.html"
480 },
481 "3": {
482 "name": "entity.other.attribute-name.html"
483 },
484 "4": {
485 "name": "entity.other.attribute-name.html"
486 },
487 "5": {
488 "name": "entity.other.attribute-name.html"
489 },
490 "6": {
491 "name": "punctuation.separator.key-value.html"
492 }
493 },
494 "patterns": [
495 {
496 "name": "source.directive.vue",
497 "begin": "`",
498 "beginCaptures": {
499 "0": {
500 "name": "punctuation.definition.string.begin.html"
501 }
502 },
503 "end": "`",
504 "endCaptures": {
505 "0": {
506 "name": "punctuation.definition.string.end.html"
507 }
508 },
509 "patterns": [
510 {
511 "include": "source.js#expression"
512 }
513 ]
514 },
515 {
516 "name": "source.directive.vue",
517 "begin": "\"",
518 "beginCaptures": {
519 "0": {
520 "name": "punctuation.definition.string.begin.html"
521 }
522 },
523 "end": "\"",
524 "endCaptures": {
525 "0": {
526 "name": "punctuation.definition.string.end.html"
527 }
528 },
529 "patterns": [
530 {
531 "include": "source.js#expression"
532 }
533 ]
534 },
535 {
536 "name": "source.directive.vue",
537 "begin": "'",
538 "beginCaptures": {
539 "0": {
540 "name": "punctuation.definition.string.begin.html"
541 }
542 },
543 "end": "'",
544 "endCaptures": {
545 "0": {
546 "name": "punctuation.definition.string.end.html"
547 }
548 },
549 "patterns": [
550 {
551 "include": "source.js#expression"
552 }
553 ]
554 }
555 ]
556 }
557 }
558 }
559