(Quick Reference)

xwiki:render Tag

Purpose

Renders the source text converted based on the specified input syntax and output syntax.

Examples

<xwiki:render>
=XWiki Rendering Sample 1=
This text will be rendered:
input - **XWiki Syntax 2.1**(default) , output - **XHTML**(default)
{{comment}}
This line will be processed by XWiki Comment Macro.
{{/comment}}
</xwiki:render>

<xwiki:render inputSyntax="mediawiki/2.1" outputSyntax="xhtml/1.0"> =XWiki Rendering Sample 2= This text will be rendered: input - **MediaWiki Syntax** , output - **Plain Text** </xwiki:render>

Description

Attributes

  • inputSyntax (optional) - The source text syntax. Default to "xwiki/2.1"
  • outputSyntax (optional) - The output text syntax. Default to "xhtml/1.0"

The supported input syntaxes are:

The supported output syntaxes are: