XWikiSyntaxVerbatim

Warning
For security reasons, the document is displayed in restricted mode as it is not the current version. There may be differences and errors due to this.

Advanced

Verbatim

1.0 Verbatim

Allow to enter content that will not be formatted (in other words the XWiki Syntax will not be taken into account).

Information

In XWiki Syntax 1.0 the Pre macro only preserves XWiki Syntax and Radeox macros. However HTML snippets and Groovy/Velocity scripts are still executed.

FeatureXWiki Syntax 1.0Result
Verbatim inlineSome verbatim {pre}*[not rendered]*{/pre} contentSome verbatim *[not rendered]* content
Verbatim block

{pre} multi line *verbatim* content {/pre}
InformationIt's also possible to use the Code macro but it displays its content in a box by default.

multi line
*verbatim*
content

2.0 Verbatim

Allow to enter content that will not be formatted (in other words the XWiki Syntax will not be taken into account).

FeatureXWiki Syntax Failed to execute the [velocity] macro. Cause: [The execution of the [velocity] script macro is not allowed in [cqm8:XWiki.XWikiSyntaxVerbatim]. Check the rights of its last author or the parameters if it's rendered from another script.]. Click on this message for details.
Result
Verbatim inlineSome verbatim {{{**[[not rendered]]**}}} contentSome verbatim **[[not rendered]]** content
Verbatim block
{{{
multi line
**verbatim**
content
}}}
multi line
**verbatim**
content