XWiki Syntax 1.0 ยป Advanced

XWiki Syntax 1.0: Advanced


1.0 Verbatim

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

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}
It's also possible to use the Code macro but it displays its content in a box by default.

multi line


1.0 Quotations

Allows to quote some text.

FeatureXWiki Syntax 1.0Result
Simple quote

<blockquote><p>john said this</p></blockquote>
I said ok

 john said this

I said ok

Nested quotes

<blockquote><p>john said this</p>
  <blockquote><p>marie answered that</p></blockquote>
I said ok 

 john said this

 marie answered that

I said ok


1.0 Escapes

Allows to escape XWiki Syntax.

FeatureXWiki Syntax 1.0Result
Escape a characterThis is not a \[link\]This is not a [link]


1.0 Parameters

In XWiki Syntax 1.0 there is no syntax for passing parameters and the only way to do it was to write XHTML directly in the content as shown in the table below.

XWiki Syntax 1.0Generated XHTML
<h1 class="myClass" style="myStyle" id="myId">heading</h1>
<h1 class="myClass" style="myStyle" id="myId">heading</h1>
Created by Admin on 2008/02/20 12:36
  • Powered by XWiki 8.4.4-node1. Hosted and managed by XWiki SAS

Get Connected