[kramdown-users] [Kramdown-users] Table Syntax
t_leitner at gmx.at
Tue Dec 29 14:33:15 EST 2009
Am Thu, 17 Dec 2009 00:43:38 +0800
schrieb Shawn Van Ittersum <svicalifornia at gmail.com>:
> On Wed, 16 Dec 2009 16:37:04 +0100, Thomas Leitner wrote:
> >> Also, would it be possible to support this alternate syntax for
> >> separating the header row from the rest of the table:
> >> | header | here |
> >> ------------------
> >> | some | cells |
> >> | more | cells |
> > I haven't much though about the used table syntax. It will probably
> > be based on the syntax of the PHP Markdown Extra package. One
> > difference will be that all tables lines have to begin with a
> > vertical bar. So I don't know if your above proposal will make it
> > into the table syntax, especially since PHP Markdown Extra does not
> > allow this syntax.
> That's OK. What about this?
> | header | here |
> |--- (some arbitrary number of dashes, at least three)
> | some | cells |
> | more | cells |
> I have a Markdown-enabled wiki, so I edit Markdown in a textarea in
> the Safari web browser, which does not have Emacs' nifty tools for
> table cell width cleanup. The above simpler form of the PHP Markdown
> Extra syntax would be very helpful when the cell widths change
> often. The dashes clearly indicate a separator, without needing
> additional vertical bars and dashes across all the cells, which need
> to be adjusted if the cell widths change.
Will take this into consideration. More information regarding the table
syntax follows in the next days.
More information about the kramdown-users