Tables Reddit has the ability to represent tabular data in fancy-looking tables. For example:
some header labels Left-justified center-justified right-justified a b c d e f Which is produced with the following markdown:
some | header | labels |
---|---|---|
Left-justified | center-justified | right-justified |
a | b | c |
d | e | f |
All you need to produce a table is a row of headers separated by "pipes" ( | ), a row indicating how to justify the columns, and 1 or more rows of data (again, pipe-separated). |
The only real "magic" is in the row between the headers and the data. It should ideally be formed with rows dashes separated by pipes. If you add a colon to the left of the dashes for a column, that column will be left-justified. To the right for right justification, and on both sides for centered data. If there's no colon, it defaults to left-justified.
Any number of dashes will do, even just one. You can use none at all if you want it to default to left-justified, but it's just easier to see what you're doing if you put a few in there.
Also note that the pipes (signifying the dividing line between cells) don't have to line up. You just need the same number of them in every row.