[Discussion] Handling tables in Markdown
Proposal
The MR !86353 (merged) allows the rendering of tables from JSON code.
This addition means that there are 3 ways of creating tables in Markdown:
- Markdown tables
- HTML tables
- JSON tables in a code block
Table feature matrix
Alignment | Merge cells | Sorting | Filtering | |
---|---|---|---|---|
Markdown | - | - | - | |
HTML | - | - | - | |
JSON | - | - |
Table creation
Source
Markdown | HTML | JSON |
---|---|---|
Visual editing
Markdown | HTML | JSON |
---|---|---|
n/a |
Table display
At the moment we don’t distinguish the difference between the two approaches of tables when displaying the table. The difference is only in source. With JSON table, we would continue this approach for display.
Markdown vs HTML | Markdown vs HTML(merge cells) |
---|---|
Table interactivity
With the Markdown and HTML the end result is a static table. With JSON tables we are introducing client side interaction. With this we would need to add visual signifiers to show the affordance that you can click the tables.
Edited by Michael Le