-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Open
Description
Add support for (at least some of) the new table features introduced in pandoc-types/pull/66.
It would be good if at least one of pandoc markdown's table syntax would support that: grid tables seem like the obvious candidate. Something like:
+---------------+---------------+--------------------+
| Fruit | Price | Advantages |
+===============+===============+====================+
| rowspan | - built-in wrapper |
| | - bright color |
+---------------+---------------+--------------------+
| subheader | Price | Advantages |
+===============+===============+====================+
| Oranges | colspan | - cures scurvy |
| | | - tasty |
+---------------+ +--------------------+
|| Row header | | - cures scurvy |
|| | | - tasty |
+---------------+---------------+--------------------+
| Table foot | Price | Advantages |
+===============+===============+====================+
This would roughly tick off the following of the new table features:
- rowspan, colspan (note that pandoc markdown's grid tables already support this now)
- table head and foot (note that pandoc markdown's grid tables already support this now)
- multiple header lines
- row headers
- table attributes
- captions that allow block-level content and include an optional short caption
It does have the disadvantage that if the last rows look like header rows, they are simply treated as the table foot.
Reactions are currently unavailable