Wiki source code of XWikiSyntaxGroups

Last modified by superadmin on 2025/05/22 17:44

Hide last authors
superadmin 1.1 1 = Editing =
2
3 == Groups ==
4
5 === 2.0 Groups ===
6
7 Groups can be used to insert another document inline directly into the current document. This allows for example to insert complex elements or style inside a list item, inside a table cell or a paragraph. Groups are delimited by the following syntactic elements: ##{{{(((...)))}}}##. One Group can contain another Group and there is no limit of imbrication.
8
9 |=XWiki Syntax {{velocity}}$crtSyntaxVer{{/velocity}}|=Result
10 |((({{{
11 |=Header 1|=Header 2|=Header 3
12 |Cell One|(((
13 = Embedded document =
14
15 Some embedded paragraph.
16
17 * list item one
18 * list item two
19 ** sub-item 1
20 ** sub-item 2
21 ))) | Cell Three
22
23 Next paragraph in the top-level document
24 }}})))|(((
25 |=Header 1|=Header 2|=Header 3
26 |Cell One|(((
27 {{html}}<h1 id="HEmbeddeddocument"><span>Embedded document</span></h1>{{/html}}
28
29 Some embedded paragraph.
30
31 * list item one
32 * list item two
33 ** sub-item 1
34 ** sub-item 2
35 ))) | Cell Three
36
37 Next paragraph in the top-level document
38 )))
39 |((({{{(% class="myClass" style="color:blue" %)(((blue paragraphs
40
41 inside myClass)))}}})))| (% class="myClass" style="color:blue" %)(((blue paragraphs
42
43 inside my group)))