How to put multiple lines in a Markdown table cell (multiline table)

To create an HTML table in Markdown where a cell in the table has multiple lines (a multiline cell), use the HTML <br> tag to make the line into multiple lines, like this:

| Format   | Tag example |
| -------- | ----------- |
| Headings | =heading1=<br>==heading2==<br>===heading3=== |
| New paragraph | A blank line starts a new paragraph |
| Source code block |  // all on one line<br> {{{ if (foo) bar else   baz }}} |

I made the <br> tags in that Markdown text bold so they’re easy to see.

That Markdown text produces this HTML table output:

Format Tag example
Headings =heading1=
==heading2==
===heading3===
New paragraph A blank line starts a new paragraph
Source code block // all on one line
{{{ if (foo) bar else baz }}}

In summary, if you need to have a table cell span multiple lines when writing Markdown, use the HTML <br> tag, as shown.

Compete

This is a quote about “competition” from a new player drafted by the Denver Broncos.

I like this because way back when I tried out for the baseball team at Texas A&M, I was on the field with somewhere around 50-100 other guys who were trying to “walk on” to the team. On the field, standing next to all of these other guys, there was nothing special about me for the coaches to notice. But once I stepped on the pitching mound to throw batting practice, none of them could hit me. I just kept throwing fastballs for strikes against batter after batter, and nobody hit anything against me except maybe an occasional weak grounder. The pitching mound was where I competed, and I felt like I had to get these guys out to take the next step. (I also had to only throw fastballs because it was supposed to be batting practice.)

I try to transfer the same attitude to work, but I will admit, it’s different. But when a client asks me to do something, I still think of it as competition. I want to do the best work I can because (a) they pay me a lot of money, and (b) I am competing hard so they will hire me for the next gig.

(Image from the Denver Post.)

Syndicate content