[xwiki-users] Fw : Re: riddle: howto insert a simple span with xwiki syntax?
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 :-)
- (((…))) construct generates a DIV
already documented, see http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax?syntax=2.1§ion...
hum IMO we must add an exemple with style too. Why? because on syntax page I'm pretty sur everyone use Ctrl+F: "style" (search feature in web browser) and next to find the correct syntax. WDYT?
On 20 Oct 2016, at 11:08, Pascal BASTIEN <pbasnews-xwiki@yahoo.fr> 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 inlined content.
yes it was my intention :-)
- (((…))) construct generates a DIV
already documented, see http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax?syntax=2.1§ion...
hum IMO we must add an exemple with style too. Why? because on syntax page I'm pretty sur everyone use Ctrl+F: "style" (search feature in web browser) and next to find the correct syntax. WDYT?
Sounds good. Thanks -Vincent
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-26.html It may seem like a little cumbersome now, but it will help you in the end. Greetings, Jan-Paul Op 20-10-2016 om 11:10 schreef Vincent Massol:
On 20 Oct 2016, at 11:08, Pascal BASTIEN <pbasnews-xwiki@yahoo.fr> 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 inlined content. yes it was my intention :-)
- (((…))) construct generates a DIV already documented, see http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax?syntax=2.1§ion... hum IMO we must add an exemple with style too. Why? because on syntax page I'm pretty sur everyone use Ctrl+F: "style" (search feature in web browser) and next to find the correct syntax. WDYT? Sounds good.
Thanks -Vincent _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
On 21 Oct 2016, at 00:06, Jan-Paul Kleijn <email@biggee.nl> 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 link below.
Indeed it’s better to set style attributes in CSS. Luckily XWiki makes this easy to do, by providing Skin Extensions, see: http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial Thanks -Vincent
https://www.w3.org/2001/tag/doc/contentPresentation-26.html
It may seem like a little cumbersome now, but it will help you in the end.
Greetings, Jan-Paul
Op 20-10-2016 om 11:10 schreef Vincent Massol:
On 20 Oct 2016, at 11:08, Pascal BASTIEN <pbasnews-xwiki@yahoo.fr> 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 inlined content. yes it was my intention :-)
- (((…))) construct generates a DIV already documented, see http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax?syntax=2.1§ion... hum IMO we must add an exemple with style too. Why? because on syntax page I'm pretty sur everyone use Ctrl+F: "style" (search feature in web browser) and next to find the correct syntax. WDYT? Sounds good.
Thanks -Vincent
participants (3)
-
Jan-Paul Kleijn -
Pascal BASTIEN -
Vincent Massol