Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Markdown Tables not rendering

I have some table written in markdown, but only the first table that rendered. You can see it on this website

Scroll down and you can find the mistakes. This is my script :

Nama Field | Tipe | Diperlukan | Deskripsi
--- | --- | --- | ---

from_name | String | Diperlukan | Nama Pengirim
from_email | String (email address format) | Opsional | Email Penerima, jika kosong maka menggunakan email user yang terdaftar
from_address | String | Diperlukan | Alamat Pengirim 
from_phone | String | Diperlukan | Telefon Pengirim 
from_zip_code | String | Opsional | Kode Pos Pengirim

Does anyone know what I'm doing wrong?

like image 765
may Avatar asked Aug 18 '16 07:08

may


2 Answers

I had a similar problem with one of these generated tables on Github Markdown and I found I needed to put a blank line between my header and my table like this:

## Amost always imports

|  R |  Python |    Matlab |
| --------- |:---|:---------|:-----|
| library(tidyverse) |import numpy as np|

Without that blank line the table generation did not happen and those same characters appeared in my Github Markdown instead of the desired table.

May's question and answer led me to the solution, even if her issue was actually a different one, so I am dropping this here - it may help someone else. She got my upvote too...

like image 172
Mike Wise Avatar answered Nov 12 '22 06:11

Mike Wise


[SOLVED] I shouldn't put new line between ---|---|--- and table content :D

like image 7
may Avatar answered Nov 12 '22 08:11

may