Wiki source code of XWikiSyntaxVerbatim

Last modified by superadmin on 2025/05/22 17:44

Hide last authors
superadmin 1.1 1 = Advanced =
2
3 == Verbatim ==
4
5 === 1.0 Verbatim ===
6
7 Allow to enter content that will not be formatted (in other words the XWiki Syntax will not be taken into account).
8
9 {{info}}In XWiki Syntax 1.0 the [[Pre macro>>https://extensions.xwiki.org/xwiki/bin/view/Extension/Old%20XWiki%201.0%20syntax%20renderer/Pre%20Macro%20%28Radeox%29]] only preserves XWiki Syntax and Radeox macros. However HTML snippets and Groovy/Velocity scripts are still executed.{{/info}}
10
11 |=Feature|=XWiki Syntax 1.0|=Result
12 |Verbatim inline|{{{Some verbatim {pre}*[not rendered]*{/pre} content}}}|Some verbatim {{{*[not rendered]*}}} content
13 |Verbatim block|((({{{
14 {pre}
15 multi line
16 *verbatim*
17 content
18 {/pre}
19 }}}
20 {{info}}It's also possible to use the [[Code macro>>https://extensions.xwiki.org/xwiki/bin/view/Extension/Old%20XWiki%201.0%20syntax%20renderer/Code%20Macro%20%28Radeox%29]] but it displays its content in a box by default.{{/info}}
21 )))|((({{{
22 multi line
23 *verbatim*
24 content
25 }}})))
26
27 === 2.0 Verbatim ===
28
29 Allow to enter content that will not be formatted (in other words the XWiki Syntax will not be taken into account).
30
31 |=Feature|=XWiki Syntax {{velocity}}$crtSyntaxVer{{/velocity}}|=Result
32 |Verbatim inline|{{{Some verbatim {{{**[[not rendered]]**}}} content}}}|Some verbatim {{{**[[not rendered]]**}}} content
33 |Verbatim block|((({{{
34 {{{
35 multi line
36 **verbatim**
37 content
38 }}}
39 }}})))|((({{{
40 multi line
41 **verbatim**
42 content
43 }}})))