susisu / atom-markdown-table-editor

Markdown table editor/formatter for Atom :atom:
https://atom.io/packages/markdown-table-editor
MIT License
82 stars 10 forks source link

Alignment Syntax Formatting #19

Open JosephTLyons opened 6 years ago

JosephTLyons commented 6 years ago

When a table is generated via the stock Atom snippet, we get an extra leading space before the : character, however, this is changed by markdown-table-editor, any possible way to have this implemented to have consistency with the formatting of the stock snippet?

screen shot 2018-04-24 at 10 04 35 pm

The top table is from the snippet where the bottom table is formatted by markdown-table-editor.

susisu commented 6 years ago

If you are preparing tables from the snippet:

You don't need it! Please follow the quick guide.

If the tables are generated by other people, and you want to make your tables consistent with them:

Currently there are no way to configure the padding of delimiter cells. You can format all tables by Markdown Table Editor: Format All command, or I will implement a new option to change the padding of delimiters if it is really needed.

JosephTLyons commented 6 years ago

It isn’t absolutely necessary. Just wanted to say it formatted differently from the way the snippet inserts it. But it is ok for me to manually adjust it. Thank you.