@@ -176,20 +176,30 @@ lheading 2
176176` ,
177177 tokens : [ {
178178 type : 'table' ,
179- header : [ 'a' , 'b' ] ,
180179 align : [ null , null ] ,
181- cells : [ [ '1' , '2' ] ] ,
182180 raw : '| a | b |\n|---|---|\n| 1 | 2 |\n' ,
183- tokens : {
184- header : [
185- [ { type : 'text' , raw : 'a' , text : 'a' } ] ,
186- [ { type : 'text' , raw : 'b' , text : 'b' } ]
187- ] ,
188- cells : [ [
189- [ { type : 'text' , raw : '1' , text : '1' } ] ,
190- [ { type : 'text' , raw : '2' , text : '2' } ]
191- ] ]
192- }
181+ header : [
182+ {
183+ text : 'a' ,
184+ tokens : [ { type : 'text' , raw : 'a' , text : 'a' } ]
185+ } ,
186+ {
187+ text : 'b' ,
188+ tokens : [ { type : 'text' , raw : 'b' , text : 'b' } ]
189+ }
190+ ] ,
191+ rows : [
192+ [
193+ {
194+ text : '1' ,
195+ tokens : [ { type : 'text' , raw : '1' , text : '1' } ]
196+ } ,
197+ {
198+ text : '2' ,
199+ tokens : [ { type : 'text' , raw : '2' , text : '2' } ]
200+ }
201+ ]
202+ ]
193203 } ]
194204 } ) ;
195205 } ) ;
@@ -203,22 +213,38 @@ lheading 2
203213` ,
204214 tokens : [ {
205215 type : 'table' ,
206- header : [ 'a' , 'b' , 'c' ] ,
207216 align : [ 'left' , 'center' , 'right' ] ,
208- cells : [ [ '1' , '2' , '3' ] ] ,
209217 raw : '| a | b | c |\n|:--|:-:|--:|\n| 1 | 2 | 3 |\n' ,
210- tokens : {
211- header : [
212- [ { type : 'text' , raw : 'a' , text : 'a' } ] ,
213- [ { type : 'text' , raw : 'b' , text : 'b' } ] ,
214- [ { type : 'text' , raw : 'c' , text : 'c' } ]
215- ] ,
216- cells : [ [
217- [ { type : 'text' , raw : '1' , text : '1' } ] ,
218- [ { type : 'text' , raw : '2' , text : '2' } ] ,
219- [ { type : 'text' , raw : '3' , text : '3' } ]
220- ] ]
221- }
218+ header : [
219+ {
220+ text : 'a' ,
221+ tokens : [ { type : 'text' , raw : 'a' , text : 'a' } ]
222+ } ,
223+ {
224+ text : 'b' ,
225+ tokens : [ { type : 'text' , raw : 'b' , text : 'b' } ]
226+ } ,
227+ {
228+ text : 'c' ,
229+ tokens : [ { type : 'text' , raw : 'c' , text : 'c' } ]
230+ }
231+ ] ,
232+ rows : [
233+ [
234+ {
235+ text : '1' ,
236+ tokens : [ { type : 'text' , raw : '1' , text : '1' } ]
237+ } ,
238+ {
239+ text : '2' ,
240+ tokens : [ { type : 'text' , raw : '2' , text : '2' } ]
241+ } ,
242+ {
243+ text : '3' ,
244+ tokens : [ { type : 'text' , raw : '3' , text : '3' } ]
245+ }
246+ ]
247+ ]
222248 } ]
223249 } ) ;
224250 } ) ;
@@ -232,20 +258,30 @@ a | b
232258` ,
233259 tokens : [ {
234260 type : 'table' ,
235- header : [ 'a' , 'b' ] ,
236261 align : [ null , null ] ,
237- cells : [ [ '1' , '2' ] ] ,
238262 raw : 'a | b\n--|--\n1 | 2\n' ,
239- tokens : {
240- header : [
241- [ { type : 'text' , raw : 'a' , text : 'a' } ] ,
242- [ { type : 'text' , raw : 'b' , text : 'b' } ]
243- ] ,
244- cells : [ [
245- [ { type : 'text' , raw : '1' , text : '1' } ] ,
246- [ { type : 'text' , raw : '2' , text : '2' } ]
247- ] ]
248- }
263+ header : [
264+ {
265+ text : 'a' ,
266+ tokens : [ { type : 'text' , raw : 'a' , text : 'a' } ]
267+ } ,
268+ {
269+ text : 'b' ,
270+ tokens : [ { type : 'text' , raw : 'b' , text : 'b' } ]
271+ }
272+ ] ,
273+ rows : [
274+ [
275+ {
276+ text : '1' ,
277+ tokens : [ { type : 'text' , raw : '1' , text : '1' } ]
278+ } ,
279+ {
280+ text : '2' ,
281+ tokens : [ { type : 'text' , raw : '2' , text : '2' } ]
282+ }
283+ ]
284+ ]
249285 } ]
250286 } ) ;
251287 } ) ;
0 commit comments