I noticed that there isn't a format for creating tables in Markdown.
My idea is to just use the |
(pipe) character to delimit columns in a table with the first line of "cells" always assumed to be a row of headings:
| Number | Rider | Time |
| 1 | Bullet Bob | 56:07 |
| 2 | Clumsy Colin | DNF |
| 3 | Swift Susan | 55:13 |
There would be a leader of a single space followed by a pipe |
. The rest of the line would be split on pipes with the last pipe being optional. That means this would be equivalent:
| Number | Rider | Time
| 1 | Bullet Bob | 56:07
| 2 | Clumsy Colin | DNF
| 3 | Swift Susan | 55:13
The table would be closed off by a blank line. This should cover the majority of simple cases and feels right when being viewed as plain text and in the standard Markdown vocabulary. The alignment would be optional but I couldn't bring myself to create a version that wasn't lined up!
# Race results
Here are the results from this week's race:
| Number | Rider | Time
| 1 | Bullet Bob | 56:07
| 2 | Clumsy Colin | DNF
| 3 | Swift Susan | 55:13
Congratulations to all who took part and I look forward to seeing you all at the next one!
Here are the results from this week's race:
Number | Rider | Time |
---|---|---|
1 | Bullet Bob | 56:07 |
2 | Clumsy Colin | DNF |
3 | Swift Susan | 55:13 |
Congratulations to all who took part and I look forward to seeing you all at the next one!
Looks splendid