Open kminh opened 9 years ago
I've noticed if you add a single space between a |
and -
and reformat the table, your desired format is achieved, but then adding a :
no longer aligns elements in columns.
I understand that however, the spaces are actually not required for building github flavored tables, so the support is there if you omit spaces.
|-----|:-----|
| a| b |
|-----|------|
But yes, having spaces isn't supported very well, I'll have to take a look into that.
GitHub Flavored Markdown :+1:
The examples in the new Github Flavored Markdown Spec also suggest using spaces around the hyphens: https://github.github.com/gfm/#tables-extension-
From what I checked last, this is not a requirement though.
I'd love to see this.
I think, other MarkDown flavours usually prefer no spaces - as do my eyes. Can we perhaps add this?
Is it possible to support the table format as shown here: https://help.github.com/articles/github-flavored-markdown/ ?
The main difference is the spaces in the header separator, for e.g. :
I find it much clearer to look at, suitable for minimalists.