can’t have multiple lines (or block level content) in table cells
Then you might be interested in an example table syntax from a blog article on potential table syntax (Which was found from Madoko syntax reference manual).
And that blog suggest an approach for multiline pipe tables, of using :
to indicate that a row is part of a cell above (Based on PostgreSQL table display). (Other interesting concept to note, is the idea of detecting cell alignment via number of spaces instead of |----:|
.)
id | name | description | price
------+-------------+------------------------------+--------
1 | gizmo | Takes care of the doohickies | 1.99
2 | doodad | Collects *gizmos* | 23.80
10 | dojigger | Handles: | 102.98
: : * gizmos :
: : * doodads :
: : * thingamobobs :
1024 | thingamabob | Self-explanatory, no? | 0.99
But yea Madoko didn’t adopt it for some reason. Maybe it’s harder to parse?
An interesting comment on the bottom of the blog mentions this approach instead:
BTW, PostgreSQL has changed its format a bit since I wrote this. The syntax for continued lines is better, I think. The colons are gone, and now they just use a + right-aligned to show that a column continues to the next line:
id | name | desciption | price
------+-------------+------------------------------+--------
1 | gizmo | Takes care of the doohickies | 1.99
2 | doodad | Collects *gizmos* | 23.80
10 | dojigger | Handles: +| 102.98
| | * gizmos +|
| | * doodads +|
| | * thingamobobs |
1024 | thingamabob | Self-explanatory, no? | 0.99
Which given a concept of perhaps making parser simpler by still keeping the |
divider, but adding a +
modifier to indicate a lookahead for multirow cell.