Since our nodebb supports tables, what about adding some love for them to the CSS ?
Markdown:
First Header | Second Header
------------ | -------------
Content from cell 1 | Content from cell 2
Content in the first column | Content in the second column
The result isn't that good:
First Header | Second Header |
---|---|
Content from cell 1 | Content from cell 2 |
Content in the first column | Content in the second column |
I'm using this custom CSS in my NodeBB:
table
{
font-size: 14px;
border-collapse:collapse;
margin:20px 0 0;
padding:0;
}
table tr
{
border-top:1px solid #ccc;
background-color:#fff;
margin:0;
padding:0;
}
table tr:nth-child(2n)
{
background-color:#f8f8f8;
}
table tr th[align="center"], table tr td[align="center"] {
text-align:center;
}
table tr th, table tr td
{
border:1px solid #ccc;
text-align:left;
margin:0;
padding:6px 13px;
}
And the result is quite better: