larstvei / ox-gfm

Github Flavored Markdown Back-End for Org Export Engine
230 stars 44 forks source link

Not enough hyphens/dash between the table header and rows #46

Open jjnilton opened 2 years ago

jjnilton commented 2 years ago

It seems the markdown doesn't output enough dashes/hyphens between the table header and its rows, which make the markdown source slightly less readable.

Org input:

* The first heading

| word    | number |
|---------+--------|
| one     |      1 |
| ten     |     10 |
| hundred |    100 |

Current behavior:

# The first heading

| word    | number |
|------- |------ |
| one     | 1      |
| ten     | 10     |
| hundred | 100    |

Expected:

# The first heading

| word    | number |
|---------|--------|
| one     | 1      |
| ten     | 10     |
| hundred | 100    |