I have been working out how to format list results as tables. The documentation offers three options, no CSS and two with CSS.
I have found a simpler method, most probably obvious to most of you but it may be useful to update the documentation to include this simple method.
Just insert table tags around the <$list>… tags as follows:
<table>
<tr><td>Type</td><td>Item</td><td>Quantity</td><td>Serial Number</td><td>Components</td><td>Approximate Value</td></tr><$list filter="[tag[Assets]!<currentTiddler>sort[title]sort[asset-type]]" emptyMessage="There are no assets recorded as yet"> <tr><td>{{!!asset-type}}</td><td><$link/></td><td>{{!!asset-quantity}}</td><td>{{!!asset-serial-number}}</td><td>{{asset-components}}</td><td>{{!!asset-approximate-value}}</td></tr></$list>
</table>
This renders found tiddlers as a normal table as per the |a|b| markup.
By adding a row before the <$list tag, creates column headings.