MarkdownPreview icon indicating copy to clipboard operation
MarkdownPreview copied to clipboard

Can't render tables correctly

Open verlok opened this issue 9 years ago • 2 comments

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

verlok avatar Mar 05 '15 15:03 verlok

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

k5e avatar Mar 05 '15 15:03 k5e

Thanks, I didn't know that.

2015-03-05 16:28 GMT+01:00 Christian Knappke [email protected]:

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

verlok avatar Mar 07 '15 22:03 verlok