Vincent Massol wrote:
> On Sep 4, 2008, at 5:59 PM, Sergiu Dumitriu wrote:
> 
>> Vincent Massol wrote:
>>> Hi,
>>>
>>> I'd like to propose the following syntax for definition list and
>>> definition terms. This is the syntax the most used by other wikis  
>>> too.
>>>
>>> Simple definitions:
>>>
>>> ; definition title1
>>> : definition1
>>> ; definition title2
>>> : definition2
>>>
>>> Nested definitions:
>>>
>>> ; definition title1
>>> : definition1
>>> ;; definition title2
>>> :: definition2
>>>
>>> Indentation:
>>>
>>> : first level indent
>>> :: second level indent
>>> ::: third level indent
>>> etc
>>>
>> Won't indentation get mixed up with lists? Like what if there's an
>> indented block right after a definition list?
> 
> Indented block *are* definition lists :)
> 
> They are special definition lists where the definition term has not  
> been specified.
> 

But that's not right...

This is an example of an often mis-used HTML element for visual 
purposes. Because dd is indented by default, authors use it instead of 
defining a CSS class for a semanticless <div> element.

I'm -1 for using definition data elements for indentation. It breaks the 
semantics of the page.
-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to