Le 2006-12-29 à 12:45, Andrea Censi a écrit :

> -----------
> Paragraph and no space:
> * ciao
>
> Paragraph and 1 space:
>  * ciao
>
> Paragraph and 3 spaces:
>    * ciao
>
> Paragraph and 4 spaces:
>     * ciao
> -----------
>
> In other words, a paragraph, once started, eats everything until a  
> blank line?

 From the Markdown 1.0.1 (and PHP Markdown 1.0.1) changelog:

> Sort-of fixed a bug where lines in the middle of hard-wrapped  
> paragraphs, which lines look like the start of a list item, would  
> accidentally trigger the creation of a list. E.g. a paragraph that  
> looked like this:
>
>     I recommend upgrading to version
>     8. Oops, now this line is treated
>     as a sub-list.
>
> This is fixed for top-level lists, but it can still happen for sub- 
> lists. E.g., the following list item will not be parsed properly:
>
>     *   I recommend upgrading to version
>         8. Oops, now this line is treated
>         as a sub-list.
>
> Given Markdown’s list-creation rules, I’m not sure this can be fixed.

Obviously, the same rule applies to unordered lists too. I don't  
think this is documented in the syntax documentation.


Michel Fortin
[EMAIL PROTECTED]
http://www.michelf.com/


_______________________________________________
Markdown-Discuss mailing list
[email protected]
http://six.pairlist.net/mailman/listinfo/markdown-discuss

Reply via email to