[kramdown-users] Table syntax and implementation
Shawn Van Ittersum
svicalifornia at gmail.com
Sat Jan 16 06:57:22 EST 2010
|- 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?
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.
> 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
More information about the kramdown-users