Ordered list syntax.
Lou Quillio
public at quillio.com
Fri Mar 26 21:58:27 EST 2004
> Well, the problem with that is that you wouldn't be able to have lists
> within paragraphs.
That'd be invalid XHTML 1.0, even Transitional. Can't have a list
*within* a paragraph. For example, the following is invalid because of
nested block-level elements:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>List in a paragraph</title>
</head>
<body>
<p>
<ol>
<li>What are you wearing, chica?</li>
</ol>
</p>
</body>
</html>
Then again, maybe I should get out more.
LQ
++++++++++++++++++++++++++++++++++++
Lou Quillio
P.O. Box 24
Saratoga Springs, NY, USA 12866
518.796.0256 (cell)
http://quillio.com/
On Mar 26, 2004, at 9:44 PM, Daniel Axelrod wrote:
>
> On Friday, March 26, 2004, at 09:36 PM, Jason Clark wrote:
>> On Mar 26, 2004, at 7:45 PM, Michel Fortin wrote:
>>> Easy, just write the rule that way: "A list must be separated from
>>> the previous paragraph by a period or a colon at the end of the
>>> previous line, or by a blank line". What do you think of this rule?
>>
>> These are good test cases. By the time I'd reached the end of the
>> examples, I had concluded that a blank line should precede all lists
>> to disambiguate them... but of course this may not behave as most
>> people expect, most of the time.
> Well, the problem with that is that you wouldn't be able to have lists
> within paragraphs.
>
>> Adding the period and colon caveats should address most cases where a
>> list is desired
> If this is also allowed, I guess that might be acceptable. My concern
> is that we may begoing oto far to fix what is a somewhat uncommon edge
> case.
>
> _______________________________________________
> Markdown-discuss mailing list
> Markdown-discuss at six.pairlist.net
> http://six.pairlist.net/mailman/listinfo/markdown-discuss
>
More information about the Markdown-discuss
mailing list