Skip to content

Possibility to use a structured table format inside markdown (Complex Table / Grid Table)

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Proposal

Sometime Developer/Documentation need to have the possibility to structure a table more than the standard markdown allows me to do.
It would be pretty nice if GitLab would support this syntax as well in their Markdown rendering engine.

Other parser (like Markdig or Pandoc) support a syntax called "Grid tables" which allows me to structure tables in a simple way:

  • adjusting column with by headline definition with the number of dashes per column
  • concatenate cells over lines / columns

Example implementation from Markdig:

https://pandoc.org/MANUAL.html#extension-grid_tables https://github.com/xoofx/markdig/blob/master/src/Markdig.Tests/Specs/GridTableSpecs.md

+---+---+---+
| AAAAA | B |
+---+---+ B +
| D | E | B |
+ D +---+---+
| D | CCCCC |
+---+---+---+
<table>
<col style="width:33.33%" />
<col style="width:33.33%" />
<col style="width:33.33%" />
<tbody>
<tr>
<td colspan="2">AAAAA</td>
<td rowspan="2">B
B
B</td>
</tr>
<tr>
<td rowspan="2">D
D
D</td>
<td>E</td>
</tr>
<tr>
<td colspan="2">CCCCC</td>
</tr>
</tbody>
</table>

gitlab-bot label ~markdown gitlab-bot label featureenhancement

Edited by 🤖 GitLab Bot 🤖