Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rowspan syntax in Markdown

Tags:

I'm trying to create a table in markdown syntax where a cell's content spans across various rows. How can I achieve this?

The table should look something like:

http://www.w3resource.com/html/attributes/html-rowspan-attribute-with-td-element.png

Thanks in advance!

like image 269
Paulino III Avatar asked May 06 '13 18:05

Paulino III


1 Answers

As of today, there is no syntax for tables in standard Markdown language. You can find that within some Markdown extensions like MultiMarkdown or Markdown Extra, but no rowspan support.

You can still include html code in your markdown like in this example:

**Hello** <table> <tr><td>rowspan1</td><td rowspan="2">rowspan2</td></tr> <tr><td>rowspan1</td></tr> </table> *World* 
like image 74
benweet Avatar answered Sep 28 '22 02:09

benweet