gruehle / MarkdownPreview

Brackets extension for previewing markdown files
MIT License
276 stars 61 forks source link

Can't render tables correctly #76

Open verlok opened 9 years ago

verlok commented 9 years ago

Hi there, I have a table like the following

|Pagina                |Area     |Controller   |Action   |File della view                                |
|----------------------|---------|-------------|---------|-----------------------------------------------|
|Home                  |-        |Home         |Index    |Views/Home/Index.cshtml                        |
|Search                |-        |Search       |Index    |Views/Search/Index.cshtml                      |

MarkDown preview renders the table like that

|Pagina |Area |Controller |Action |File della view | |----------------------|---------|-------------|---------|-----------------------------------------------| |Home |- |Home |Index |Views/Home/Index.cshtml | |Search |- |Search |Index |Views/Search/Index.cshtml | |Item |- |Item |Index |Views/Item/Index.cshtml |

Instead, it should render it like that:

Pagina Area Controller Action File della view
Home - Home Index Views/Home/Index.cshtml
Search - Search Index Views/Search/Index.cshtml
k5e commented 9 years ago

Have you selected Github flavoured markdown (GFM)? IIRC, standard markdown does not support tables.

verlok commented 9 years ago

Thanks, I didn't know that.

2015-03-05 16:28 GMT+01:00 Christian Knappke notifications@github.com:

Have you selected Github flavoured markdown (GFM)? IIRC, standard markdown does not support tables.

Reply to this email directly or view it on GitHub https://github.com/gruehle/MarkdownPreview/issues/76#issuecomment-77383773 .

Andrea Verlicchi Web front-end addicted www.andreaverlicchi.eu http://andreaverlicchi.eu