[kramdown-users] Table syntax and implementation
Shawn Van Ittersum
svicalifornia at gmail.com
Sat Jan 16 06:57:22 EST 2010
So:
|- separator line
|-| header separator line
|--|| separator line
|-:|-| header separator line
Am I the only one that finds this confusing?
Can we please just have one kind of separator line?
Shawn
On Sat, 16 Jan 2010 08:12:41 +0100, Thomas Leitner wrote:
> On Sat, 16 Jan 2010 04:58:13 +0700, Shawn Van Ittersum wrote:
>> Hi Thomas,
>>
>> I don't understand the differenc between your example and mine.
>> Please explain what makes kramdown interpret the separator as a
>> header separator.
>
> The syntax of a header separator line requires that there is at least
> one dash between two pipes whereas the normal separator line just
> requires a pipe/plus and a dash at the beginning of the line and then
> any combination of pipes, dashes and pluses. Therefore header separator
> lines and normal separator lines share a common subset but none is a
> real subset of the other.
>
> Examples:
>
> The following is a header line as well as a separator line:
>
> |----|----|
>
> Only a header line (because of the colons):
>
> |:--:|:---|
>
> Only a separator line (because of consecutive pluses/pipes):
>
> |----+|+----|
>
> -- Thomas
> _______________________________________________
> kramdown-users mailing list
> kramdown-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/kramdown-users
More information about the kramdown-users
mailing list