3 ms·
Thanks to optional closing tags, html5 tables are quite neat: <table> <tr> <td>first row, first column <td>first row, second column <td
by enriquto 3y ago
Thanks to optional closing tags, html5 tables are quite neat:
<table>
<tr>
<td>first row, first column
<td>first row, second column
<td>first row, third column
<tr>
<td>second row, first column
<td>second row, second column
<td>second row, third column
</table>
Does it get any better in markdown?
- eviks 3y agoThe fact that you need to list columns in rows already makes it NOT a table
- subtra3t 3y agoI'll convert your example to GFM. | first row, first column | first row, second column | first row, third column | | ------------------------ | ------------------------- | ------------------------ | | second row, first column | second row, second column | second row, third column | To me, this is more readable than the HTML version.
- kotborealis 3y agoIt's not fun to manually reformat those tables for readability. If I add something to the `second row, second column`, I have to add extra spaces to the `first row, second column`, or it will look janky. | first row, first column | first row, second column | first row, third column | | ------------------------ | ------------------------- | ------------------------ | | second row, first column | exceptionally long second row, that makes second column look worse | second row, third column |