0

I am trying to use colspan in a table in mkdocs

When I set the table up, with the same about of cells per row in the row that has the colspan, the table renders, but I have empty cells to the right:

|                         |   |       |  Version  {: colspan=5} |       |       |       |
|-------------------------|---|-------|:-----------------------:|:-----:|:-----:|:-----:|
| **TITLE** {: rowspan=5} |   | **E** | **F**                   | **G** | **H** | **I** |
                          | A | X     | X                       |       |       |       |
                          | B | X     | X                       | X     |       |       |
                          | C |       |                         | X     | X     | X     |
                          | D |       |                         | X     | X     | X     |

result:

enter image description here

If I remove the cells that should be filled using the colspan, the table doesn't render at all (I have to post a screenshot of the code because it gets half rendered as a table):

enter image description here

result:

enter image description here

Any suggestions as to how I can get teh colspan option to work correctly would be greatly appreciated. TIA

Ronny vdb
  • 2,324
  • 5
  • 32
  • 74

0 Answers0