mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-29 01:41:20 +08:00
d820620ccd
Previously we assumed that every table took up the full text width. Now we read the text width from the document's sectPr. Closes #9837. Closes #11147.
72 lines
1.9 KiB
Plaintext
72 lines
1.9 KiB
Plaintext
[ Table
|
|
( "" , [] , [] )
|
|
(Caption Nothing [])
|
|
[ ( AlignDefault , ColWidth 0.5 )
|
|
, ( AlignDefault , ColWidth 0.5 )
|
|
]
|
|
(TableHead
|
|
( "" , [] , [] )
|
|
[ Row
|
|
( "" , [] , [] )
|
|
[ Cell
|
|
( "" , [] , [] )
|
|
AlignDefault
|
|
(RowSpan 1)
|
|
(ColSpan 1)
|
|
[ Plain
|
|
[ Str "Cell"
|
|
, Space
|
|
, Str "with"
|
|
, Space
|
|
, Str "text"
|
|
]
|
|
]
|
|
, Cell
|
|
( "" , [] , [] )
|
|
AlignDefault
|
|
(RowSpan 1)
|
|
(ColSpan 1)
|
|
[ Plain
|
|
[ Str "Cell"
|
|
, Space
|
|
, Str "with"
|
|
, Space
|
|
, Str "text"
|
|
]
|
|
]
|
|
]
|
|
])
|
|
[ TableBody
|
|
( "" , [] , [] )
|
|
(RowHeadColumns 0)
|
|
[]
|
|
[ Row
|
|
( "" , [] , [] )
|
|
[ Cell
|
|
( "" , [] , [] )
|
|
AlignDefault
|
|
(RowSpan 1)
|
|
(ColSpan 1)
|
|
[ BulletList
|
|
[ [ Para [ Str "Cell" , Space , Str "with" ] ]
|
|
, [ Para [ Str "A" ] ]
|
|
, [ Para [ Str "Bullet" , Space , Str "list" ] ]
|
|
]
|
|
]
|
|
, Cell
|
|
( "" , [] , [] )
|
|
AlignDefault
|
|
(RowSpan 1)
|
|
(ColSpan 1)
|
|
[ OrderedList
|
|
( 1 , Decimal , Period )
|
|
[ [ Para [ Str "Cell" , Space , Str "with" ] ]
|
|
, [ Para [ Str "A" ] ]
|
|
, [ Para [ Str "Numbered" , Space , Str "list." ] ]
|
|
]
|
|
]
|
|
]
|
|
]
|
|
]
|
|
(TableFoot ( "" , [] , [] ) [])
|
|
] |