@@ -4,6 +4,7 @@ exports[`can replace a color value 1`] = `
4
4
Object {
5
5
" children" : Array [
6
6
Object {
7
+ " children" : Array [],
7
8
" type" : " paragraph" ,
8
9
},
9
10
Object {
@@ -13,6 +14,7 @@ Object {
13
14
<span class =\\"vscode-highlight-line\\"><span class =\\"mtk3\\">// Comment</span></span></code></pre>",
14
15
},
15
16
Object {
17
+ " children" : Array [],
16
18
" type" : " paragraph" ,
17
19
} ,
18
20
Object {
@@ -44,13 +46,15 @@ color: #D4D4D4;
44
46
.default-dark .mtku { text - decoration : underline ; text - underline - position : under ; } </style>",
45
47
},
46
48
],
49
+ " type" : " root" ,
47
50
}
48
51
`;
49
52
50
53
exports[`extension downloading can download an extension to resolve a grammar 1`] = `
51
54
Object {
52
55
" children" : Array [
53
56
Object {
57
+ " children" : Array [],
54
58
" type" : " paragraph" ,
55
59
},
56
60
Object {
@@ -60,6 +64,7 @@ Object {
60
64
<span class =\\"vscode-highlight-line\\"><span class =\\"mtk1\\">// Comment</span></span></code></pre>",
61
65
},
62
66
Object {
67
+ " children" : Array [],
63
68
" type" : " paragraph" ,
64
69
} ,
65
70
Object {
@@ -91,13 +96,15 @@ color: #D4D4D4;
91
96
.default-dark .mtku { text - decoration : underline ; text - underline - position : under ; } </style>",
92
97
},
93
98
],
99
+ " type" : " root" ,
94
100
}
95
101
`;
96
102
97
103
exports[`extension downloading can download an extension to resolve a theme 1`] = `
98
104
Object {
99
105
" children" : Array [
100
106
Object {
107
+ " children" : Array [],
101
108
" type" : " paragraph" ,
102
109
},
103
110
Object {
@@ -107,6 +114,7 @@ Object {
107
114
<span class =\\"vscode-highlight-line\\"><span class =\\"mtk3\\">// Comment</span></span></code></pre>",
108
115
},
109
116
Object {
117
+ " children" : Array [],
110
118
" type" : " paragraph" ,
111
119
} ,
112
120
Object {
@@ -135,13 +143,15 @@ Object {
135
143
.custom-theme .mtku { text - decoration : underline ; text - underline - position : under ; } </style>",
136
144
},
137
145
],
146
+ " type" : " root" ,
138
147
}
139
148
`;
140
149
141
150
exports[`included languages and themes can use a custom language alias 1`] = `
142
151
Object {
143
152
" children" : Array [
144
153
Object {
154
+ " children" : Array [],
145
155
" type" : " paragraph" ,
146
156
},
147
157
Object {
@@ -151,6 +161,7 @@ Object {
151
161
<span class =\\"vscode-highlight-line\\"><span class =\\"mtk3\\">// Comment</span></span></code></pre>",
152
162
},
153
163
Object {
164
+ " children" : Array [],
154
165
" type" : " paragraph" ,
155
166
} ,
156
167
Object {
@@ -182,13 +193,15 @@ color: #D4D4D4;
182
193
.default-dark .mtku { text - decoration : underline ; text - underline - position : under ; } </style>",
183
194
},
184
195
],
196
+ " type" : " root" ,
185
197
}
186
198
`;
187
199
188
200
exports[`included languages and themes can use a standard language alias 1`] = `
189
201
Object {
190
202
" children" : Array [
191
203
Object {
204
+ " children" : Array [],
192
205
" type" : " paragraph" ,
193
206
},
194
207
Object {
@@ -198,6 +211,7 @@ Object {
198
211
<span class =\\"vscode-highlight-line\\"><span class =\\"mtk3\\">// Comment</span></span></code></pre>",
199
212
},
200
213
Object {
214
+ " children" : Array [],
201
215
" type" : " paragraph" ,
202
216
} ,
203
217
Object {
@@ -229,13 +243,15 @@ color: #D4D4D4;
229
243
.default-dark .mtku { text - decoration : underline ; text - underline - position : under ; } </style>",
230
244
},
231
245
],
246
+ " type" : " root" ,
232
247
}
233
248
`;
234
249
235
250
exports[`included languages and themes partially works if an embedded grammar is missing 1`] = `
236
251
Object {
237
252
" children" : Array [
238
253
Object {
254
+ " children" : Array [],
239
255
" type" : " paragraph" ,
240
256
},
241
257
Object {
@@ -245,6 +261,7 @@ Object {
245
261
<span class =\\"vscode-highlight-line\\">// Comment</span></code></pre>",
246
262
},
247
263
Object {
264
+ " children" : Array [],
248
265
" type" : " paragraph" ,
249
266
} ,
250
267
Object {
@@ -276,13 +293,15 @@ color: #D4D4D4;
276
293
.default-dark .mtku { text - decoration : underline ; text - underline - position : under ; } </style>",
277
294
},
278
295
],
296
+ " type" : " root" ,
279
297
}
280
298
`;
281
299
282
300
exports[`included languages and themes works with default options 1`] = `
283
301
Object {
284
302
" children" : Array [
285
303
Object {
304
+ " children" : Array [],
286
305
" type" : " paragraph" ,
287
306
},
288
307
Object {
@@ -292,6 +311,7 @@ Object {
292
311
<span class =\\"vscode-highlight-line\\"><span class =\\"mtk3\\">// Comment</span></span></code></pre>",
293
312
},
294
313
Object {
314
+ " children" : Array [],
295
315
" type" : " paragraph" ,
296
316
} ,
297
317
Object {
@@ -323,13 +343,15 @@ color: #D4D4D4;
323
343
.default-dark .mtku { text - decoration : underline ; text - underline - position : under ; } </style>",
324
344
},
325
345
],
346
+ " type" : " root" ,
326
347
}
327
348
`;
328
349
329
350
exports[`included languages and themes works without highlighting if a code fence has no language 1`] = `
330
351
Object {
331
352
" children" : Array [
332
353
Object {
354
+ " children" : Array [],
333
355
" type" : " paragraph" ,
334
356
},
335
357
Object {
@@ -339,6 +361,7 @@ Object {
339
361
<span class =\\"vscode-highlight-line\\">// Comment</span></code></pre>",
340
362
},
341
363
Object {
364
+ " children" : Array [],
342
365
" type" : " paragraph" ,
343
366
} ,
344
367
Object {
@@ -349,13 +372,15 @@ color: #D4D4D4;
349
372
} </style>",
350
373
},
351
374
],
375
+ " type" : " root" ,
352
376
}
353
377
`;
354
378
355
379
exports[`included languages and themes works without highlighting if language is not recognized 1`] = `
356
380
Object {
357
381
" children" : Array [
358
382
Object {
383
+ " children" : Array [],
359
384
" type" : " paragraph" ,
360
385
},
361
386
Object {
@@ -365,6 +390,7 @@ Object {
365
390
<span class =\\"vscode-highlight-line\\">// Comment</span></code></pre>",
366
391
},
367
392
Object {
393
+ " children" : Array [],
368
394
" type" : " paragraph" ,
369
395
} ,
370
396
Object {
@@ -375,13 +401,15 @@ color: #D4D4D4;
375
401
} </style>",
376
402
},
377
403
],
404
+ " type" : " root" ,
378
405
}
379
406
`;
380
407
381
408
exports[`prefers-color-scheme supports prefers-color-scheme via an object for \`colorTheme\` 1`] = `
382
409
Object {
383
410
" children" : Array [
384
411
Object {
412
+ " children" : Array [],
385
413
" type" : " paragraph" ,
386
414
},
387
415
Object {
@@ -391,6 +419,7 @@ Object {
391
419
<span class =\\"vscode-highlight-line\\"><span class =\\"mtk3 mtki\\">// Comment</span></span></code></pre>",
392
420
},
393
421
Object {
422
+ " children" : Array [],
394
423
" type" : " paragraph" ,
395
424
} ,
396
425
Object {
@@ -490,13 +519,15 @@ background-color: #F5F5F5;
490
519
} </style>",
491
520
},
492
521
],
522
+ " type" : " root" ,
493
523
}
494
524
`;
495
525
496
526
exports[`prefers-color-scheme supports prefers-color-scheme with dynamically selected themes 1`] = `
497
527
Object {
498
528
" children" : Array [
499
529
Object {
530
+ " children" : Array [],
500
531
" type" : " paragraph" ,
501
532
},
502
533
Object {
@@ -506,9 +537,11 @@ Object {
506
537
<span class =\\"vscode-highlight-line\\"><span class =\\"mtk3 mtki\\">// Comment</span></span></code></pre>",
507
538
},
508
539
Object {
540
+ " children" : Array [],
509
541
" type" : " paragraph" ,
510
542
} ,
511
543
Object {
544
+ " children" : Array [],
512
545
" type" : " paragraph" ,
513
546
} ,
514
547
Object {
@@ -518,6 +551,7 @@ Object {
518
551
<span class =\\"vscode-highlight-line\\"><span class =\\"mtk3 mtki\\">// Comment</span></span></code></pre>",
519
552
},
520
553
Object {
554
+ " children" : Array [],
521
555
" type" : " paragraph" ,
522
556
} ,
523
557
Object {
@@ -629,13 +663,15 @@ color: #f8f8f2;
629
663
} </style>",
630
664
},
631
665
],
666
+ " type" : " root" ,
632
667
}
633
668
`;
634
669
635
670
exports[`sets highlighted line class names 1`] = `
636
671
Object {
637
672
" children" : Array [
638
673
Object {
674
+ " children" : Array [],
639
675
" type" : " paragraph" ,
640
676
},
641
677
Object {
@@ -648,6 +684,7 @@ Object {
648
684
<span class =\\"vscode-highlight-line\\"><span class =\\"mtk3\\">// 5</span></span></code></pre>",
649
685
},
650
686
Object {
687
+ " children" : Array [],
651
688
" type" : " paragraph" ,
652
689
} ,
653
690
Object {
@@ -679,5 +716,6 @@ color: #D4D4D4;
679
716
.default-dark .mtku { text - decoration : underline ; text - underline - position : under ; } </style>",
680
717
},
681
718
],
719
+ " type" : " root" ,
682
720
}
683
721
`;
0 commit comments