Wiki source code of XWikiSyntaxParagraphs

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

Hide last authors
superadmin 1.1 1 = Editing =
2
3 == Paragraphs ==
4
5 === 1.0 Paragraphs ===
6
7 Paragraphs are text elements separated by 2 or more new lines.
8
9 {{info}}New lines are not honored in XWiki Syntax 1.0.
10 You need to insert a double backslash instead, like: {{{\\}}}{{/info}}
11
12 |=Feature|=XWiki Syntax 1.0|=Result
13 |Simple paragraph|This is a paragraph|This is a paragraph
14 |Paragraph on multiple lines|Paragraph on{{{\\}}}\\multiple lines|Paragraph on\\multiple lines
15 |Two paragraphs|Paragraph one\\\\Paragraph two|Paragraph one\\\\Paragraph two
16 |Parametrized paragraph|<p style="text-align:center;color:blue">Centered and blue paragraph</p>|(% style="text-align:center;color:blue" %)\\Centered and blue paragraph
17
18 === 2.0 Paragraphs ===
19
20 Paragraphs are text elements separated by 2 or more new lines.
21
22 |=Feature|=XWiki Syntax {{velocity}}$crtSyntaxVer{{/velocity}}|=Result
23 |Simple paragraph|This is a paragraph|This is a paragraph
24 |Paragraph on multiple lines|Paragraph on\\multiple lines|Paragraph on\\multiple lines
25 |Two paragraphs|Paragraph one\\\\Paragraph two|Paragraph one\\\\Paragraph two
26 |Parametrized paragraph|{{{(% style="text-align:center;color:blue" %)}}}\\Centered and blue paragraph|(% style="text-align:center;color:blue" %)\\Centered and blue paragraph
27 |Different style on some portion of the paragraph content|paragraph with {{{(% style="color:red" %)}}}red{{{(%%)}}} different style inside|paragraph with (% style="color:red" %)red(%%) texte inside