XWikiXWikiSyntaxParagraphsen0XWiki.XWikiSyntaxxwiki:XWiki.Adminxwiki:XWiki.Adminxwiki:XWiki.Admin1.1XWikiSyntaxParagraphsfalsexwiki/2.1true= Editing =
== Paragraphs ==
=== 1.0 Paragraphs ===
Paragraphs are text elements separated by 2 or more new lines.
{{info}}New lines are not honored in XWiki Syntax 1.0.
You need to insert a double backslash instead, like: {{{\\}}}{{/info}}
|=Feature|=XWiki Syntax 1.0|=Result
|Simple paragraph|This is a paragraph|This is a paragraph
|Paragraph on multiple lines|Paragraph on{{{\\}}}\\multiple lines|Paragraph on\\multiple lines
|Two paragraphs|Paragraph one\\\\Paragraph two|Paragraph one\\\\Paragraph two
|Parametrized paragraph|<p style="text-align:center;color:blue">Centered and blue paragraph</p>|(% style="text-align:center;color:blue" %)\\Centered and blue paragraph
=== 2.0 Paragraphs ===
Paragraphs are text elements separated by 2 or more new lines.
|=Feature|=XWiki Syntax {{velocity}}$crtSyntaxVer{{/velocity}}|=Result
|Simple paragraph|This is a paragraph|This is a paragraph
|Paragraph on multiple lines|Paragraph on\\multiple lines|Paragraph on\\multiple lines
|Two paragraphs|Paragraph one\\\\Paragraph two|Paragraph one\\\\Paragraph two
|Parametrized paragraph|{{{(% style="text-align:center;color:blue" %)}}}\\Centered and blue paragraph|(% style="text-align:center;color:blue" %)\\Centered and blue paragraph
|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