XWiki Syntax Guide

Last modified by Thomas Mortagne on 2016/12/26 12:13

XWiki Syntax 2.1 » Editing » Paragraphs

XWiki Syntax 2.1: Paragraphs

2.0 Paragraphs

Paragraphs are text elements separated by 2 or more new lines.

Information

In XWiki Syntax 2.1 new lines are honored which is not the case in XWiki Syntax 1.0 and in Creole Syntax.

FeatureXWiki Syntax 2.1Result
Simple paragraphThis is a paragraphThis is a paragraph
Paragraph on multiple linesParagraph on
multiple lines
Paragraph on
multiple lines
Two paragraphsParagraph one

Paragraph two
Paragraph one

Paragraph two
Parametrized paragraph(% style="text-align:center;color:blue" %)
Centered and blue paragraph

Centered and blue paragraph
Different style on some portion of the paragraph contentparagraph with (% style="color:red" %)red(%%) different style insideparagraph with red texte inside