I’m using VS Code 1.86.2 on Ubuntu 22.
I’m trying to get it to render a ‘horizontal’ table (if that’s the right term), whereby the first column is the heading, and is shaded, or in bold text:
| Head 1 | Col 1 |
| Head 2 | Col2 |
I tried this, but it just puts a line break across the page:
Head 1 Col 1
----------- --------------
Head 2 Col 2
----------- --------------
2
Answers
Markdown does not support landscape tables out of the box. The closest you can get with native Markdown is something like this (note that all the header entries are bold):
However, if you are in an environment that supports HTML and CSS you can use something like this:
Another option is to use HTML since it can be embedded in Markdown without any special syntax:
Stack Overflow seems to ignore table tags, but here’s how it looks on GitHub: