XWiki Syntax Guide

Last modified by qwerty on 2018/09/26 12:32

XWiki Syntax 2.1 » » ${crtSection.name}

XWiki Syntax 2.1: $sectionName

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