2
2
3
3
exports [` Markdown should be able to highlight code with the highlightCode option 1` ] = `
4
4
<div >
5
+
5
6
<pre
6
7
class = " language-markup"
7
8
>
@@ -37,23 +38,24 @@ exports[`Markdown should be able to highlight code with the highlightCode option
37
38
38
39
exports [` Markdown should be able to highlight code with the highlightElement option 1` ] = `
39
40
<div >
41
+
40
42
<pre
41
- class = " language-none"
43
+ class = " language-none"
42
44
tabindex = " 0"
43
45
>
44
46
<code
45
- class = " language-none"
47
+ class = " language-none"
46
48
>
47
49
const x = "y";
48
50
</code >
49
51
</pre >
50
52
51
53
<pre
52
- class = " language-sh"
54
+ class = " language-sh"
53
55
tabindex = " 0"
54
56
>
55
57
<code
56
- class = " language-sh"
58
+ class = " language-sh"
57
59
>
58
60
yarn add some-package
59
61
</code >
@@ -63,6 +65,7 @@ exports[`Markdown should be able to highlight code with the highlightElement opt
63
65
64
66
exports [` Markdown should be able to render all six heading types with or without ids 1` ] = `
65
67
<div >
68
+
66
69
<h1
67
70
id = " heading-1"
68
71
>
@@ -98,6 +101,7 @@ exports[`Markdown should be able to render all six heading types with or without
98
101
99
102
exports [` Markdown should be able to render all six heading types with or without ids 2` ] = `
100
103
<div >
104
+
101
105
<h1 >
102
106
Heading 1
103
107
</h1 >
@@ -121,6 +125,7 @@ exports[`Markdown should be able to render all six heading types with or without
121
125
122
126
exports [` Markdown should be able to render blockquotes 1` ] = `
123
127
<div >
128
+
124
129
<blockquote >
125
130
<p >
126
131
This is text in a blockquote
@@ -131,6 +136,7 @@ exports[`Markdown should be able to render blockquotes 1`] = `
131
136
132
137
exports [` Markdown should be able to render breaks (<br >) 1`] = `
133
138
<div >
139
+
134
140
<p >
135
141
Trailing two spaces to force break
136
142
<br />
@@ -159,6 +165,7 @@ exports[`Markdown should be able to render breaks (<br>) 1`] = `
159
165
160
166
exports[`Markdown should be able to render code blocks with or without languages 1`] = `
161
167
<div >
168
+
162
169
<pre >
163
170
<code >
164
171
const x = "y";
@@ -179,6 +186,7 @@ exports[`Markdown should be able to render code blocks with or without languages
179
186
180
187
exports[`Markdown should be able to render emphasis (italic) text 1`] = `
181
188
<div >
189
+
182
190
<p >
183
191
<em >
184
192
Using Single Underscore
@@ -195,6 +203,7 @@ exports[`Markdown should be able to render emphasis (italic) text 1`] = `
195
203
196
204
exports[`Markdown should be able to render escaped (backslash-prefixed) text 1`] = `
197
205
<div >
206
+
198
207
<p >
199
208
Here is some
200
209
\\*
@@ -207,6 +216,7 @@ exports[`Markdown should be able to render escaped (backslash-prefixed) text 1`]
207
216
208
217
exports[`Markdown should be able to render h1 elements with equal signs 1`] = `
209
218
<div >
219
+
210
220
<h1
211
221
id = " three-equals"
212
222
>
@@ -222,6 +232,7 @@ exports[`Markdown should be able to render h1 elements with equal signs 1`] = `
222
232
223
233
exports[`Markdown should be able to render h2 elements with hyphens 1`] = `
224
234
<div >
235
+
225
236
<h2
226
237
id = " three-hyphens"
227
238
>
@@ -237,6 +248,7 @@ exports[`Markdown should be able to render h2 elements with hyphens 1`] = `
237
248
238
249
exports[`Markdown should be able to render horizontal rules and <br /> tags 1`] = `
239
250
<div >
251
+
240
252
<p >
241
253
Text Above HR
242
254
</p >
@@ -250,6 +262,7 @@ exports[`Markdown should be able to render horizontal rules and <br /> tags 1`]
250
262
251
263
exports[`Markdown should be able to render images 1`] = `
252
264
<div >
265
+
253
266
<p >
254
267
<img
255
268
alt = " "
@@ -286,6 +299,7 @@ exports[`Markdown should be able to render images 1`] = `
286
299
287
300
exports[`Markdown should be able to render inline code 1`] = `
288
301
<div >
302
+
289
303
<p >
290
304
This has some
291
305
<code >
@@ -298,6 +312,7 @@ exports[`Markdown should be able to render inline code 1`] = `
298
312
299
313
exports[`Markdown should be able to render inline code that has html entities 1`] = `
300
314
<div >
315
+
301
316
<p >
302
317
This has some
303
318
<code >
@@ -352,6 +367,7 @@ exports[`Markdown should be able to render inline code that has html entities 1`
352
367
353
368
exports[`Markdown should be able to render links that reference specific ids 1`] = `
354
369
<div >
370
+
355
371
<p >
356
372
<a
357
373
href = " #heading-1"
@@ -372,6 +388,7 @@ exports[`Markdown should be able to render links that reference specific ids 1`]
372
388
373
389
exports[`Markdown should be able to render links with or without references 1`] = `
374
390
<div >
391
+
375
392
<p >
376
393
Automatically
377
394
<a
@@ -424,6 +441,7 @@ exports[`Markdown should be able to render links with or without references 1`]
424
441
425
442
exports[`Markdown should be able to render nested blockquotes 1`] = `
426
443
<div >
444
+
427
445
<blockquote >
428
446
<p >
429
447
Root Blockquote
@@ -439,6 +457,7 @@ exports[`Markdown should be able to render nested blockquotes 1`] = `
439
457
440
458
exports[`Markdown should be able to render nested lists 1`] = `
441
459
<div >
460
+
442
461
<ol >
443
462
<li >
444
463
Ordered Item 1
@@ -467,6 +486,7 @@ exports[`Markdown should be able to render nested lists 1`] = `
467
486
468
487
exports[`Markdown should be able to render ordered lists 1`] = `
469
488
<div >
489
+
470
490
<ol >
471
491
<li >
472
492
Ordered Item 1
@@ -483,6 +503,7 @@ exports[`Markdown should be able to render ordered lists 1`] = `
483
503
484
504
exports[`Markdown should be able to render strikethrough (deleted) text 1`] = `
485
505
<div >
506
+
486
507
<p >
487
508
<del >
488
509
This text has strikethroughs
@@ -493,6 +514,7 @@ exports[`Markdown should be able to render strikethrough (deleted) text 1`] = `
493
514
494
515
exports[`Markdown should be able to render strong (bold) text 1`] = `
495
516
<div >
517
+
496
518
<p >
497
519
<strong >
498
520
Using Double Underscore
@@ -510,6 +532,7 @@ exports[`Markdown should be able to render strong (bold) text 1`] = `
510
532
511
533
exports[`Markdown should be able to render tables 1`] = `
512
534
<div >
535
+
513
536
<table >
514
537
<thead >
515
538
<tr >
@@ -575,6 +598,7 @@ exports[`Markdown should be able to render tables 1`] = `
575
598
576
599
exports[`Markdown should be able to render tables with complex markdown 1`] = `
577
600
<div >
601
+
578
602
<table >
579
603
<thead >
580
604
<tr >
@@ -675,6 +699,7 @@ exports[`Markdown should be able to render tables with complex markdown 1`] = `
675
699
676
700
exports[`Markdown should be able to render task lists 1`] = `
677
701
<div >
702
+
678
703
<ul >
679
704
<li >
680
705
<input
@@ -717,6 +742,7 @@ exports[`Markdown should be able to render task lists 1`] = `
717
742
718
743
exports[`Markdown should be able to render text that combines emphasis, strong, and strikethrough text 1`] = `
719
744
<div >
745
+
720
746
<p >
721
747
<em >
722
748
<strong >
@@ -779,6 +805,7 @@ exports[`Markdown should be able to render text that combines emphasis, strong,
779
805
780
806
exports[`Markdown should be able to render unordered lists 1`] = `
781
807
<div >
808
+
782
809
<ul >
783
810
<li >
784
811
Item 1
@@ -1137,11 +1164,11 @@ exports[`custom renderer should be able to use a custom renderer 1`] = `
1137
1164
</p >
1138
1165
1139
1166
<pre
1140
- class = " language-bash"
1167
+ class = " language-bash"
1141
1168
tabindex = " 0"
1142
1169
>
1143
1170
<code
1144
- class = " language-bash"
1171
+ class = " language-bash"
1145
1172
>
1146
1173
<span
1147
1174
class = " token function"
@@ -1165,11 +1192,11 @@ exports[`custom renderer should be able to use a custom renderer 1`] = `
1165
1192
</p >
1166
1193
1167
1194
<pre
1168
- class = " language-bash"
1195
+ class = " language-bash"
1169
1196
tabindex = " 0"
1170
1197
>
1171
1198
<code
1172
- class = " language-bash"
1199
+ class = " language-bash"
1173
1200
>
1174
1201
<span
1175
1202
class = " token function"
@@ -1193,11 +1220,11 @@ exports[`custom renderer should be able to use a custom renderer 1`] = `
1193
1220
</p >
1194
1221
1195
1222
<pre
1196
- class = " language-tsx"
1223
+ class = " language-tsx"
1197
1224
tabindex = " 0"
1198
1225
>
1199
1226
<code
1200
- class = " language-tsx"
1227
+ class = " language-tsx"
1201
1228
>
1202
1229
<span
1203
1230
class = " token comment"
@@ -1236,34 +1263,30 @@ exports[`custom renderer should be able to use a custom renderer 1`] = `
1236
1263
(
1237
1264
</span >
1238
1265
<span
1239
- class = " token parameter "
1266
+ class = " token punctuation "
1240
1267
>
1241
- <span
1242
- class = " token punctuation"
1243
- >
1244
- {
1245
- < / span >
1246
-
1268
+ {
1269
+ < / span >
1270
+
1247
1271
children
1248
- <span
1249
- class = " token punctuation"
1250
- >
1251
- ,
1252
- </span >
1253
-
1272
+ <span
1273
+ class = " token punctuation"
1274
+ >
1275
+ ,
1276
+ </span >
1277
+
1254
1278
1255
- <span
1256
- class = " token punctuation"
1257
- >
1258
- }
1259
- </span >
1260
- <span
1261
- class = " token operator"
1262
- >
1263
- :
1264
- </span >
1265
- ListItemRendererProps
1279
+ <span
1280
+ class = " token punctuation"
1281
+ >
1282
+ }
1266
1283
</span >
1284
+ <span
1285
+ class = " token operator"
1286
+ >
1287
+ :
1288
+ </span >
1289
+ ListItemRendererProps
1267
1290
<span
1268
1291
class = " token punctuation"
1269
1292
>
@@ -1354,10 +1377,15 @@ exports[`custom renderer should be able to use a custom renderer 1`] = `
1354
1377
< / div >
1355
1378
` ;
1356
1379
1357
- exports[` html support should not be able to render foldable text (details ) 1 ` ] = ` < div / > ` ;
1380
+ exports[` html support should not be able to render foldable text (details ) 1 ` ] = `
1381
+ <div >
1382
+
1383
+ </div >
1384
+ ` ;
1358
1385
1359
1386
exports[` html support should not be able to render tags ? 1 ` ] = `
1360
1387
<div >
1388
+
1361
1389
<h1
1362
1390
id = " heading--text"
1363
1391
>
0 commit comments