mikemaccana mikemaccana - 2 months ago 26
Markdown Question

Newline in markdown table?

I have the following cells in a markdown table:

|Something|Something that's rather quite long|Something else|


I'd like to be able to insert a break in the middle line, so the column isn't so large. How can I do that in Markdown? Do I need to use HTML tables instead?

Answer

Use <br> to force a line break within a table cell.

Markdown Extra and MultiMarkdown allow tables, but after trial and error, it seems an HTML line break is needed in this case.