2018-04-22 21:18:45 +02:00
|
|
|
```
|
|
|
|
% pandoc -f rst -t native
|
|
|
|
.. list-table::
|
|
|
|
:header-rows: 1
|
|
|
|
|
|
|
|
* - Foo
|
|
|
|
- Bar
|
|
|
|
* - spam
|
|
|
|
- ham
|
|
|
|
^D
|
2021-09-19 21:09:51 +02:00
|
|
|
[ Table
|
|
|
|
( "", [], [] )
|
|
|
|
( Caption Nothing [] )
|
|
|
|
[
|
|
|
|
( AlignDefault, ColWidthDefault )
|
|
|
|
,
|
|
|
|
( AlignDefault, ColWidthDefault )
|
|
|
|
]
|
|
|
|
( TableHead
|
|
|
|
( "", [], [] )
|
|
|
|
[ Row
|
|
|
|
( "", [], [] )
|
|
|
|
[ Cell
|
|
|
|
( "", [], [] ) AlignDefault
|
|
|
|
( RowSpan 1 )
|
|
|
|
( ColSpan 1 )
|
|
|
|
[ Plain [ Str "Foo" ] ]
|
|
|
|
, Cell
|
|
|
|
( "", [], [] ) AlignDefault
|
|
|
|
( RowSpan 1 )
|
|
|
|
( ColSpan 1 )
|
|
|
|
[ Plain [ Str "Bar" ] ]
|
|
|
|
]
|
|
|
|
]
|
|
|
|
)
|
|
|
|
[ TableBody
|
|
|
|
( "", [], [] )
|
|
|
|
( RowHeadColumns 0 ) []
|
|
|
|
[ Row
|
|
|
|
( "", [], [] )
|
|
|
|
[ Cell
|
|
|
|
( "", [], [] ) AlignDefault
|
|
|
|
( RowSpan 1 )
|
|
|
|
( ColSpan 1 )
|
|
|
|
[ Plain [ Str "spam" ] ]
|
|
|
|
, Cell
|
|
|
|
( "", [], [] ) AlignDefault
|
|
|
|
( RowSpan 1 )
|
|
|
|
( ColSpan 1 )
|
|
|
|
[ Plain [ Str "ham" ] ]
|
|
|
|
]
|
|
|
|
]
|
|
|
|
]
|
|
|
|
( TableFoot ( "", [], [] ) [] )
|
|
|
|
]
|
2018-04-22 21:18:45 +02:00
|
|
|
```
|