When constructing a table through textile, the first row should ideally output TH tags instead of TD. This will result in nicely formatted tables with the standard drupal stylesheet.

Also, the table rows should ideally use the 'light' and 'dark' classes like the rest of Drupal.

Comments

jhriggs’s picture

Assigned: Unassigned » jhriggs
Category: bug » feature

Headers for tables are inserted with "_" (i.e. "|_. A|_. B|_. C|" will create headers A, B, and C). I think automatically doing the alternating dark/light rows may be outside the scope of this module. It could be done, but may be confusing if that's not what users desire. The alternation can be specified in the table as follows:

|_. A|_. B|_. C|
(dark). |a|dark|row|
(light). |a|light|row|

Thoughts?