[pmwiki-users] Adding attributes to rows in table markup

DaveG pmwiki at solidgone.com
Sat Mar 13 08:15:48 CST 2010


Is there a way to add attributes to a *row* with the table markup?

Here's a simplified example of the result I want -- note the "id" 
attribute on the TR tag:
<table>
   <tbody>
     <tr id="myid">
       <td>xyz</td>
       <td>abc</td>
     </tr>
   </tbody>
</table>

This:
(:table:)
(:cellnr id="myid":)xyz
(:cell:)abc
(:tableend:)

produces the "id" on the TR tag:
<table>
   <tbody>
     <tr>
       <td id="myid">xyz</td>
       <td>abc</td>
     </tr>
   </tbody>
</table>

Which makes sense from the documentation. But, how do I get the ID on 
the TR tag?


  ~ ~ Dave



More information about the pmwiki-users mailing list