Re: [xwiki-users] riddle: howto insert a simple span with xwiki syntax?
Ok I will send a PR. (I didn't knew doc was modified through git though) IMO it is better here, no?: http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HParameters -------------------------------------------- En date de : Jeu 20.10.16, Vincent Massol <vincent@massol.net> a écrit :
I need to add that here: http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax
You mean here: http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax?syntax=2.1§ion... (that’s the only place that needs fixing from what I see)
You want to send a PR? Notes: * It’s in https://github.com/xwiki/xwiki-platform/blob/e750ba502ba3a73cec7357a4c8fbbc9... * It needs to be fixed in xwiki-platform for the EN language * It needs to be updated on l10n for other languages (French, etc).
On 20 Oct 2016, at 10:32, Pascal BASTIEN <pbasnews-xwiki@yahoo.fr> wrote:
Ok I will send a PR. (I didn't knew doc was modified through git though)
IMO it is better here, no?: http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HParameters
The example there is correct. You need to close only for span, ie only in inline content. Thanks -Vincent
-------------------------------------------- En date de : Jeu 20.10.16, Vincent Massol <vincent@massol.net> a écrit :
I need to add that here: http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax
You mean here: http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax?syntax=2.1§ion... (that’s the only place that needs fixing from what I see)
You want to send a PR?
Notes: * It’s in https://github.com/xwiki/xwiki-platform/blob/e750ba502ba3a73cec7357a4c8fbbc9... * It needs to be fixed in xwiki-platform for the EN language * It needs to be updated on l10n for other languages (French, etc).
On 20 Oct 2016, at 10:35, Vincent Massol <vincent@massol.net> wrote:
On 20 Oct 2016, at 10:32, Pascal BASTIEN <pbasnews-xwiki@yahoo.fr> wrote:
Ok I will send a PR. (I didn't knew doc was modified through git though)
IMO it is better here, no?: http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HParameters
The example there is correct.
You need to close only for span, ie only in inline content.
To be precise, if you don’t close then it’ll be auto-closed on the next block elements….. So you need to close when you need to control the extent of the span. For example: hello (% … %)some content in span(%%) outside of span here This is why the example for paragraph is not wrong but it’s also not teaching this. So it should be amended to show a span only on some portion of the paragraph content. Thanks -Vincent
Thanks -Vincent
-------------------------------------------- En date de : Jeu 20.10.16, Vincent Massol <vincent@massol.net> a écrit :
I need to add that here: http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax
You mean here: http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax?syntax=2.1§ion... (that’s the only place that needs fixing from what I see)
You want to send a PR?
Notes: * It’s in https://github.com/xwiki/xwiki-platform/blob/e750ba502ba3a73cec7357a4c8fbbc9... * It needs to be fixed in xwiki-platform for the EN language * It needs to be updated on l10n for other languages (French, etc).
participants (2)
-
Pascal BASTIEN -
Vincent Massol