guides icon indicating copy to clipboard operation
guides copied to clipboard

[FEATURE] Support Sphinx's table spans

Open dkd-kaehm opened this issue 1 year ago • 4 comments

Feature request

The table spans are currently not supported, neither for grid tables nor for simple tables syntax.

Simple table syntax: See (Sphinx docs link):

=====  =====  ======
   Inputs     Output
------------  ------
  A      B    A or B
=====  =====  ======
False  False  False
True   False  True
False  True   True
True   True   True
=====  =====  ======

Produces currently:

grafik


Grid table syntax: See (Sphinx docs link):

+--------------+----------+-----------+-----------+
| row 1, col 1 | column 2 | column 3  | column 4  |
+--------------+----------+-----------+-----------+
| row 2        |                                  |
+--------------+----------+-----------+-----------+
| row 3        |          |           |           |
+--------------+----------+-----------+-----------+

Produces currently:

grafik

dkd-kaehm avatar Dec 12 '24 09:12 dkd-kaehm

The gridtable has been fixed in: https://github.com/phpDocumentor/guides/pull/1193 and will be part of our next release

jaapio avatar Jan 10 '25 16:01 jaapio

@jaapio can this be closed then?

linawolf avatar Mar 16 '25 09:03 linawolf

No because spans are not yet supported in simple tables

jaapio avatar Mar 16 '25 09:03 jaapio

Ah, I see

linawolf avatar Mar 16 '25 09:03 linawolf