Re: [xwiki-users] riddle: howto insert a simple span with xwiki syntax?

2016-10-20 Thread Pascal BASTIEN
yes of course. I wanted add some CSS class in blog code. Anyway I will PR today and I'm pretty sure than xwiki commiters will make attention with this. :-) En date de : Ven 21.10.16, Jan-Paul Kleijn a écrit : Objet: Re: [xwiki-users] riddle: howto i

Re: [xwiki-users] riddle: howto insert a simple span with xwiki syntax?

2016-10-20 Thread Jan-Paul Kleijn
Pascal, I advise you not to use the style tag in HTML (or WIKI code for that matter) - only as a last resort. It is good practice to separate structure from presentation. W3C made a rather comprehensive explanation on this, see link below. https://www.w3.org/2001/tag/doc/contentPresentation-

Re: [xwiki-users] riddle: howto insert a simple span with xwiki syntax?

2016-10-20 Thread Pascal BASTIEN
Here you are: https://github.com/xwiki/xwiki-platform/pull/543/files Thxs Vincent and Jan-Paul En date de : Jeu 20.10.16, Vincent Massol a écrit : Objet: Re: [xwiki-users] riddle: howto insert a simple span with xwiki syntax? À: "Pascal BASTIEN"

Re: [xwiki-users] riddle: howto insert a simple span with xwiki syntax?

2016-10-20 Thread Vincent Massol
> On 20 Oct 2016, at 11:08, Pascal BASTIEN wrote: > > >>> >>> Yes it is correct, >> but what I want to add in syntax guide (if you agree) is >> these 2 way: >>> - to close style with >> (%%) >> >> only for inline >> content and only needed if you need to style only a potion >> of the inline

[xwiki-users] Fw : Re: riddle: howto insert a simple span with xwiki syntax?

2016-10-20 Thread Pascal BASTIEN
> > > > Yes it is correct, > but what I want to add in syntax guide (if you agree)  is > these 2 way: > > - to close style  with > (%%) > > only for inline > content and only needed if you need to style only a potion > of the inlined content. yes it was my intention :-) > > > -  (((…))) const

Re: [xwiki-users] riddle: howto insert a simple span with xwiki syntax?

2016-10-20 Thread Vincent Massol
> On 20 Oct 2016, at 10:50, Pascal BASTIEN wrote: > > > > --- En date de : Jeu 20.10.16, Vincent Massol a écrit : > >> De: Vincent Massol >> Objet: Re: [xwiki-users] riddle: howto insert a simple span with xwiki >> syntax? >> À: "Pascal BASTIEN" >> Cc: "XWiki Users" >> Date: Jeudi 20 oct

[xwiki-users] Fw : Re: riddle: howto insert a simple span with xwiki syntax?

2016-10-20 Thread Pascal BASTIEN
--- En date de : Jeu 20.10.16, Vincent Massol a écrit : > De: Vincent Massol > Objet: Re: [xwiki-users] riddle: howto insert a simple span with xwiki syntax? > À: "Pascal BASTIEN" > Cc: "XWiki Users" > Date: Jeudi 20 octobre 2016, 10h35 > > > On > 20 Oct 2016, at 10:32, Pascal BASTIEN > wr

Re: [xwiki-users] riddle: howto insert a simple span with xwiki syntax?

2016-10-20 Thread Vincent Massol
> On 20 Oct 2016, at 10:35, Vincent Massol wrote: > > >> On 20 Oct 2016, at 10:32, Pascal BASTIEN 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#HParameter

Re: [xwiki-users] riddle: howto insert a simple span with xwiki syntax?

2016-10-20 Thread Vincent Massol
> On 20 Oct 2016, at 10:32, Pascal BASTIEN 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 spa

Re: [xwiki-users] riddle: howto insert a simple span with xwiki syntax?

2016-10-20 Thread Pascal BASTIEN
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 a écrit : >> >> I need to add tha

Re: [xwiki-users] riddle: howto insert a simple span with xwiki syntax?

2016-10-20 Thread Vincent Massol
> On 20 Oct 2016, at 10:08, Vincent Massol wrote: > >> >> On 20 Oct 2016, at 10:05, Pascal BASTIEN wrote: >> (% >>> class="plainmessage publish-message" %)% >>> class="glyphicon glyphicon-globe" %)$message))) >>> >>> First this is not fully >>> correct. You need to close the s

Re: [xwiki-users] riddle: howto insert a simple span with xwiki syntax?

2016-10-20 Thread Vincent Massol
> On 20 Oct 2016, at 10:05, Pascal BASTIEN wrote: > >>> >>> (% >> class="plainmessage publish-message" %)% >> class="glyphicon glyphicon-globe" %)$message))) >> >> First this is not fully >> correct. You need to close the span with (%%). > > ha! > It's like manage to scratch my back!

[xwiki-users] Fw : Re: riddle: howto insert a simple span with xwiki syntax?

2016-10-20 Thread Pascal BASTIEN
> > > > (% > class="plainmessage publish-message" %)% > class="glyphicon glyphicon-globe" %)$message))) > > First this is not fully > correct. You need to close the span with (%%). ha! It's like manage to scratch my back! so pleasurable! I need to add that here: http://platform.xwiki.o

Re: [xwiki-users] riddle: howto insert a simple span with xwiki syntax?

2016-10-20 Thread Vincent Massol
Hi Pascal, > On 20 Oct 2016, at 08:20, Pascal BASTIEN wrote: > > Ok thxs but my problem is that I can not insert a anything in > front of $message :-/ > > There are inserted I wonder why when it is a div (a bug?) or is > at the wrong place. > > I didn't manage to have this simple result: >