Re: Maruku: a better Markdown interpreter for Ruby.

2006-12-29 Thread Jan Erik Moström
Reply to John Gruber [EMAIL PROTECTED] 06-12-28 15:35: I agree that HTML's comment syntax is verbose. And don't get me started on the rules regarding `--` within an HTML comment. I'm not ruling out the idea of a Markdown-specific comment syntax, but given that Markdown already supports HTML

Markdown markup question

2006-12-29 Thread Jan Erik Moström
If I have the following text --- Just a small test This is some code and some indented code and this is the end 1. Just a small test This is some code and some indented code and this is the end

Doubt about standard syntax

2006-12-29 Thread Andrea Censi
I have a doubt about the standard syntax (actually, it's the only test that maruku doesn't pass yet). Lists MUST be preceded by an empty line? So the following are only 4 paragraphs, without list items, right? --- Paragraph and no space: * ciao Paragraph and 1 space: * ciao Paragraph

Re: Doubt about standard syntax

2006-12-29 Thread A. Pagaltzis
* Andrea Censi [EMAIL PROTECTED] [2006-12-29 18:50]: In other words, a paragraph, once started, eats everything until a blank line? Except blockquotes and headings. Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/ ___ Markdown-Discuss

Re: Doubt about standard syntax

2006-12-29 Thread Andrea Censi
On 12/29/06, Robert Ullrey [EMAIL PROTECTED] wrote: This is true, but I find that you can override the paragraph gobble by adding three spaces after a line. Are you talking about a specific implementation, or the syntax in general? Which implementation? -- Andrea Censi Life is too

Re: Doubt about standard syntax

2006-12-29 Thread Waylan Limberg
On 12/29/06, A. Pagaltzis [EMAIL PROTECTED] wrote: * Andrea Censi [EMAIL PROTECTED] [2006-12-29 18:50]: In other words, a paragraph, once started, eats everything until a blank line? Except blockquotes and headings. Mostly. It depends on which implementation your using. Perl (the original)

Re: Doubt about standard syntax

2006-12-29 Thread Michel Fortin
Le 2006-12-29 à 14:04, Waylan Limberg a écrit : Mostly. It depends on which implementation your using. Perl (the original) gets it right. Php wraps the blockquotes and headers in the paragraph (did I find a bug?) and python misses the blockquote completely but gets the header right. That's a

Re: Markdown markup question

2006-12-29 Thread Michel Fortin
Le 2006-12-29 à 11:30, Jan Erik Moström a écrit : Note that there are two code tags for the list, is this to be expected? have I missed something? is it a bug? or should I just learn to live with it? It's clearly a bug since it generates invalid HTML. PHP Markdown has a similar although less

Re: Maruku: a better Markdown interpreter for Ruby.

2006-12-29 Thread John Gruber
Andrea Censi [EMAIL PROTECTED] wrote on 12/28/06 at 11:46 PM: I was surprised to see it's already comparable in speed. :-D Probably the magic is in the line-oriented parser: I'm using regexp only for span-level elements. Yeah, I'll bet yours makes fewer copies of the entire source input. With