fcrespo82 / atom-markdown-table-formatter

A simple markdown plugin to format tables.
MIT License
21 stars 7 forks source link

Find tables with spaces in header separator line #4

Closed rgregg closed 9 years ago

rgregg commented 9 years ago

Github and other markdown renders support a table syntax that looks like this:

ColA | ColB | ColC
--- | --- | ---
ValueA | ValueB | Value C

However, the table formatter tool doesn't recognize that as a table and won't format it. You have to remove the spaces between the dashes and pipes in the separator to get it to recognize the table. It'd be great if the table formatter could recognize this format of table as well and enable the formatting (including removing the space between the dashes and pipes).

fcrespo82 commented 9 years ago

This was fixed by 9a790aaa56542d6caad7117e7c19d7c87440332d

rgregg commented 9 years ago

Awesome! Thanks.