On Sep 4, 2008, at 6:13 PM, Sergiu Dumitriu wrote:
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.
I agree. Ok let me say it differently then :) There NO wiki syntax for indentation and I'm strongly -1 to introduce a syntax for it right now. Note that this doesn't change anything of what I'm doing. I mentioned it simply because this is what most people will use for indentation... and that it'll be the simplest way to do it. The other way will be: {{html}} <span style="..."> </span> {{/html}} Thanks -Vincent