I have a markdown table as below:
| 1 | 2 | 3 |
|---|---|---|
| 4 | 5 | 6 |
| 7 | 8 | 9 |
I wish to set background color to red for a specific cell, e.g. cell 8. I found some forum discussed to use HTML syntax to set font color but not found anyone can set the whole cell background color to red.
The background-color is a part of the style. Markdown is only for content and structure.
But you can use css selectors
td:nth-child(n)
td + td
and overwrite it again td + td + td
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments