XWiki Syntax Guide

Last modified by Administrator on 2011/03/03 00:17

XWiki Syntax 2.1 » » $services.rendering.escape($crtSection.name, 'xwiki/2.1')

XWiki Syntax 2.1: $services.rendering.escape($sectionName, 'xwiki/2.1')

2.0 Paragraphs

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

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