You can insert tables using <list> tag in your comments. It is recommended to use comment editor for adding or editing tables. Normally, the <list> tag only allows one or two table columns. However, you can extend the <list> syntax and use any number of columns. You can do it also in WYSIWYG comment editor.

Normal Tables

Normally, the table can have only one column (using <term>) or two columns (using <term> and <description>).

Example

<list type="table">

  <listheader>

    <term>A</term>

    <description>B</description>

  </listheader>

  <item>

    <term>C</term>

    <description>D</description>

  </item>

</list>

Previous example creates table with one heading row and one normal row and two columns:

A

B

C

D

Tables With More Columns

To add more columns, just add another <description> tags inside <listheader> or/and <item> tags.

Example

<list type="table">

  <listheader>

    <term>A</term>

    <description>B</description>

    <description>C</description>

  </listheader>

  <item>

    <term>D</term>

    <description>E</description>

    <description>F</description>

  </item>

</list>

Previous example creates table with one heading row and one normal row and three columns:

A

B

C

D

E

F

Tables with more than two columns will work correctly in WYSIWYG comment editor and all output formats except for RTF.

See Also

<list> Tag