> On 21 Oct 2016, at 00:06, Jan-Paul Kleijn wrote:
>
> 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 li
howto insert a simple span with xwiki syntax?
À: "XWiki Users"
Date: Vendredi 21 octobre 2016, 0h06
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. W3
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-
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 BA
> 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
> 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 BA
> 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
> 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
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
> 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
> 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!
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:
>
> On 19 Oct 2016, at 11:17, Vincent Massol wrote:
>
>
>> On 19 Oct 2016, at 11:17, Jan-Paul Kleijn wrote:
>>
>> And for one word only you close the span with (%%). Like so:
Remark: It’s not just for one word. It’s for any inline content.
Thanks
-Vincent
>> (% class="plainmessage publish-me
> On 19 Oct 2016, at 11:17, Jan-Paul Kleijn wrote:
>
> And for one word only you close the span with (%%). Like so:
>
>
> (% class="plainmessage publish-message" %)$message(%%)
>
> Sorry vincent, did not want to seem like a wisenose :-)
no, no, you’re perfectly right :)
My example wasn’t go
And for one word only you close the span with (%%). Like so:
(% class="plainmessage publish-message" %)$message(%%)
Sorry vincent, did not want to seem like a wisenose :-)
Greetings,
Jan-Paul
Vincent Massol wrote
>Hi Pascal,
>
>(% class="plainmessage publish-message" %)((($message)
Hi Pascal,
(% class="plainmessage publish-message" %)((($message)))
the (((…))) construct generates a DIV
For a span you need:
(% class="plainmessage publish-message" %)$message
Thanks
-Vincent
> On 19 Oct 2016, at 10:17, Pascal BASTIEN wrote:
>
> (I resend my previous message: it seem xwik
Hello,
With wiki syntax I failed to insert a simple span in a velocity macro
(Blog./BlogCode):
#macro(publishMessageBox $message)
(% class="plainmessage publish-message" %)((($message)))
#end
display:
This article was published on 17/10/2016 16:47:06
and I want a span in front of $message li
17 matches
Mail list logo