File tree 2 files changed +25
-1
lines changed
2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export default function () {
9
9
this . compiler = ( tree ) => {
10
10
let content = compiler ( tree ) ;
11
11
content = content
12
- . replace ( / ^ \s * ( < \/ ? ( t a b l e | t r | t h | t d ) > ) / gm, ( match , p1 ) => p1 )
12
+ . replace ( / ^ \s * ( < \/ ? ( t a b l e | t h e a d | t b o d y | t r | t h | t d ) > ) / gm, ( match , p1 ) => p1 )
13
13
. replace (
14
14
/ < t d > \s * ( [ \s \S ] * ?) \s * < \/ t d > / gm,
15
15
( match , p1 ) =>
Original file line number Diff line number Diff line change @@ -25,11 +25,14 @@ exports[`Remark should parse globals page 1`] = `
25
25
#### Parameters
26
26
27
27
<table >
28
+ <thead >
28
29
<tr >
29
30
<th >Parameter</th >
30
31
<th >Type</th >
31
32
<th >Description</th >
32
33
</tr >
34
+ </thead >
35
+ <tbody >
33
36
<tr >
34
37
<td >
35
38
@@ -51,6 +54,7 @@ const x = 1;
51
54
52
55
</td >
53
56
</tr >
57
+ </tbody >
54
58
</table >
55
59
56
60
#### Returns
@@ -77,11 +81,14 @@ exports[`Remark should parse globals page without toc 1`] = `
77
81
#### Parameters
78
82
79
83
<table >
84
+ <thead >
80
85
<tr >
81
86
<th >Parameter</th >
82
87
<th >Type</th >
83
88
<th >Description</th >
84
89
</tr >
90
+ </thead >
91
+ <tbody >
85
92
<tr >
86
93
<td >
87
94
@@ -103,6 +110,7 @@ const x = 1;
103
110
104
111
</td >
105
112
</tr >
113
+ </tbody >
106
114
</table >
107
115
108
116
#### Returns
@@ -131,16 +139,20 @@ title: 'test'
131
139
## Type Parameters
132
140
133
141
<table >
142
+ <thead >
134
143
<tr >
135
144
<th >Type Parameter</th >
136
145
</tr >
146
+ </thead >
147
+ <tbody >
137
148
<tr >
138
149
<td >
139
150
140
151
\`T\`
141
152
142
153
</td >
143
154
</tr >
155
+ </tbody >
144
156
</table >
145
157
146
158
## Constructors
@@ -262,16 +274,20 @@ javascript
262
274
263
275
#### Type Parameters
264
276
<table >
277
+ <thead >
265
278
<tr >
266
279
<th >Type Parameter</th >
267
280
</tr >
281
+ </thead >
282
+ <tbody >
268
283
<tr >
269
284
<td >
270
285
271
286
\`T\`
272
287
273
288
</td >
274
289
</tr >
290
+ </tbody >
275
291
</table >
276
292
277
293
#### Constructors
@@ -296,16 +312,20 @@ javascript
296
312
297
313
#### Type Parameters
298
314
<table >
315
+ <thead >
299
316
<tr >
300
317
<th >Type Parameter</th >
301
318
</tr >
319
+ </thead >
320
+ <tbody >
302
321
<tr >
303
322
<td >
304
323
305
324
\`T\`
306
325
307
326
</td >
308
327
</tr >
328
+ </tbody >
309
329
</table >
310
330
311
331
#### Properties
@@ -336,10 +356,13 @@ javascript
336
356
337
357
#### Parameters
338
358
<table >
359
+ <thead >
339
360
<tr >
340
361
<th >Parameter</th >
341
362
<th >Type</th >
342
363
</tr >
364
+ </thead >
365
+ <tbody >
343
366
<tr >
344
367
<td >
345
368
@@ -352,6 +375,7 @@ javascript
352
375
353
376
</td >
354
377
</tr >
378
+ </tbody >
355
379
</table >
356
380
357
381
#### Returns
You can’t perform that action at this time.
0 commit comments