[xwiki-devs] [Rendering] Syntax for definition lists and indentations
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 WDYT? Thanks -Vincent
Looks good. I don't think it would break any other syntax element - at least not one I can think of. Guillaume On Thu, Sep 4, 2008 at 10:58 AM, Vincent Massol <[email protected]> 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
WDYT?
Thanks -Vincent _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Guillaume Lerouge Product Manager - XWiki Skype ID : wikibc http://blog.xwiki.com/
ok I made a mistake for nested definitions. Here's the correct syntax: Nested definitions: ; definition title1 : definition1 :; definition title2 :: definition2 BTW this will also work (I think): * list *; definition title *: definition I'm implementing it now hoping that it's fine with you. Please let me know ASAP what you think. Thanks -Vincent On Sep 4, 2008, at 10:58 AM, 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
WDYT?
Thanks -Vincent
+1 Vincent Massol wrote:
ok I made a mistake for nested definitions. Here's the correct syntax:
Nested definitions:
; definition title1 : definition1 :; definition title2 :: definition2
BTW this will also work (I think):
* list *; definition title *: definition
I'm implementing it now hoping that it's fine with you. Please let me know ASAP what you think.
Thanks -Vincent
On Sep 4, 2008, at 10:58 AM, 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
WDYT?
Thanks -Vincent
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Artem Melentyev
+1 On Thu, Sep 4, 2008 at 12:25 PM, Vincent Massol <[email protected]> wrote:
ok I made a mistake for nested definitions. Here's the correct syntax:
Nested definitions:
; definition title1 : definition1 :; definition title2 :: definition2
BTW this will also work (I think):
* list *; definition title *: definition
I'm implementing it now hoping that it's fine with you. Please let me know ASAP what you think.
Thanks -Vincent
On Sep 4, 2008, at 10:58 AM, 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
WDYT?
Thanks -Vincent
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
+1 On Thu, Sep 4, 2008 at 10:58 AM, Vincent Massol <[email protected]> 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
WDYT?
Thanks -Vincent _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Jean-Vincent Drean
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? -- Sergiu Dumitriu http://purl.org/net/sergiu/
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. Thanks -Vincent
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/
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
participants (6)
-
Artem Melentyev -
Guillaume Lerouge -
Jean-Vincent Drean -
Sergiu Dumitriu -
Thomas Mortagne -
Vincent Massol