[xwiki-devs] [Rendering] Wiki syntax for quotes and block quote?
Hi, I've noticed that wikimodel uses the space character for representing quotes in XWiki syntax. Here's Mikhail's explanation: " These events are send by quotation blocks. Example:
The first line
The second line The third line The fourth line
Gives the following sequence of events: <beginQuotation> <beginQuotationLine>The first line <beginQuotation> <beginQuotationLine>The second line </endQuotationLine> <beginQuotationLine>The third line</endQuotationLine> </endQuotation> </endQuotationLine> <beginQuotationLine>The fourth line </endQuotationLine> </endQuotation> In XWiki syntax quotation lines are represented by spaces at the beginning of each line. The quotation block is a block of lines starting from a space-prefixed line. Something like . The first line .. The second line .. The third line . The fourth line (I used the "." symbol to show a space) In CommonSyntax quotation blocks starts with the ">" symbol as I wrote in the example above. " I don't think we've really been using leading spaces to represent quotes, have we? Also I don't think the space character is a good character for this. So my question here: Do we want to have a syntax for quotes/block quotes? And what character to use? I think we do want to have this syntax and the ">" character sounds good to me. WDYT? Thanks -Vincent
On Fri, Jul 25, 2008 at 10:52 AM, Vincent Massol <vincent@massol.net> wrote:
In CommonSyntax quotation blocks starts with the ">" symbol as I wrote in the example above.
AFAICS quotations aren't handled in Creole, does it come from another wiki syntax or from CommonSyntax itself ?
I don't think we've really been using leading spaces to represent quotes
Me neither.
Also I don't think the space character is a good character for this.
Neither do I.
So my question here: Do we want to have a syntax for quotes/block quotes? And what character to use?
I think we do want to have this syntax and the ">" character sounds good to me.
+1, I guess copy/pasted emails would look nice with this feature. -- Jean-Vincent Drean
On Jul 25, 2008, at 11:20 AM, Jean-Vincent Drean wrote:
On Fri, Jul 25, 2008 at 10:52 AM, Vincent Massol <vincent@massol.net> wrote:
In CommonSyntax quotation blocks starts with the ">" symbol as I wrote in the example above.
AFAICS quotations aren't handled in Creole, does it come from another wiki syntax or from CommonSyntax itself ?
I don't know. Looking at http://www.wikimatrix.org/compare/MediaWiki+PBwiki+XWiki you can see different ways of doing indentation (not sure it's the same as quote though): ":" for mediawiki and space for PBWiki. Haven't checked the others.
I don't think we've really been using leading spaces to represent quotes
Me neither.
Also I don't think the space character is a good character for this.
Neither do I.
So my question here: Do we want to have a syntax for quotes/block quotes? And what character to use?
I think we do want to have this syntax and the ">" character sounds good to me.
+1, I guess copy/pasted emails would look nice with this feature.
Thanks -Vincent
On Fri, Jul 25, 2008 at 11:20 AM, Jean-Vincent Drean <jv@xwiki.com> wrote:
On Fri, Jul 25, 2008 at 10:52 AM, Vincent Massol <vincent@massol.net> wrote:
In CommonSyntax quotation blocks starts with the ">" symbol as I wrote in the example above.
AFAICS quotations aren't handled in Creole, does it come from another wiki syntax or from CommonSyntax itself ?
I don't think we've really been using leading spaces to represent quotes
Me neither.
I don't know, anyway I never used it that way.
Also I don't think the space character is a good character for this.
Neither do I.
So my question here: Do we want to have a syntax for quotes/block quotes? And what character to use?
I think we do want to have this syntax and the ">" character sounds good to me.
+1, I guess copy/pasted emails would look nice with this feature.
+1 for ">"
-- Jean-Vincent Drean _______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
Jean-Vincent Drean wrote:
...
So my question here: Do we want to have a syntax for quotes/block quotes? And what character to use?
I think we do want to have this syntax and the ">" character sounds good to me.
+1, I guess copy/pasted emails would look nice with this feature.
+1 for ">". -- Artem Melentyev
Artem Melentyev wrote:
Jean-Vincent Drean wrote:
...
So my question here: Do we want to have a syntax for quotes/block quotes? And what character to use?
I think we do want to have this syntax and the ">" character sounds good to me.
+1, I guess copy/pasted emails would look nice with this feature.
+1 for ">".
+1 for keeping it and ">" and supporting multiple levels ">>" ">>>". Indeed this will make copy pasted emails look nice. Also this can be used for commenting inside the wiki document. I've seen this used in some wikis. Ludovic -- Ludovic Dubost Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost
Ok so we all agreed to have > for quotes. I've added an issue in the wikimodel issue tracker for this: http://code.google.com/p/wikimodel/issues/detail?id=42 As soon as it's done in wikimodel, I'll add support for it in the new rendering. Thanks -Vincent On Jul 25, 2008, at 10:52 AM, Vincent Massol wrote:
Hi,
I've noticed that wikimodel uses the space character for representing quotes in XWiki syntax. Here's Mikhail's explanation:
" These events are send by quotation blocks.
Example:
The first line
The second line The third line The fourth line
Gives the following sequence of events: <beginQuotation> <beginQuotationLine>The first line <beginQuotation> <beginQuotationLine>The second line </endQuotationLine> <beginQuotationLine>The third line</endQuotationLine> </endQuotation> </endQuotationLine> <beginQuotationLine>The fourth line </endQuotationLine> </endQuotation>
In XWiki syntax quotation lines are represented by spaces at the beginning of each line. The quotation block is a block of lines starting from a space-prefixed line. Something like . The first line .. The second line .. The third line . The fourth line (I used the "." symbol to show a space)
In CommonSyntax quotation blocks starts with the ">" symbol as I wrote in the example above. "
I don't think we've really been using leading spaces to represent quotes, have we? Also I don't think the space character is a good character for this.
So my question here: Do we want to have a syntax for quotes/block quotes? And what character to use?
I think we do want to have this syntax and the ">" character sounds good to me.
WDYT?
Thanks -Vincent
participants (5)
-
Artem Melentyev -
Jean-Vincent Drean -
Ludovic Dubost -
Thomas Mortagne -
Vincent Massol