Strona wsparcia WaihonaPedia

XWiki Syntax Guide


XWiki Syntax 2.1 » Advanced

XWiki Syntax 2.1: Advanced

Verbatim

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 2.1Result
Verbatim inlineSome verbatim {{{**[[not rendered]]**}}} contentSome verbatim **[[not rendered]]** content
Verbatim block
{{{
multi line
**verbatim**
content
}}}
multi line
**verbatim**
content

Quotations

2.0 Quotations

Allows to quote some text.

FeatureXWiki Syntax 2.1Result
Simple quote
> john said this
I said ok

 john said this

I said ok

Nested quotes
> john said this
>> marie answered that
I said ok

 john said this

 marie answered that

I said ok

Groups

2.0 Groups

Groups can be used to insert another document inline directly into the current document. This allows for example to insert complex elements or style inside a list item, inside a table cell or a paragraph. Groups are delimited by the following syntactic elements: (((...))). One Group can contain another Group and there is no limit of imbrication.

XWiki Syntax 2.1Result
|=Header 1|=Header 2|=Header 3
|Cell One|(((
= Embedded document =

Some embedded paragraph.

* list item one
* list item two
  ** sub-item 1
  ** sub-item 2
))) | Cell Three

Next paragraph in the top-level document
Header 1Header 2Header 3
Cell One

Embedded document

Some embedded paragraph.

  • list item one
  • list item two
    • sub-item 1
    • sub-item 2
 Cell Three

Next paragraph in the top-level document

(% class="myClass" style="color:blue" %)(((blue paragraphs

inside myClass)))
 

blue paragraphs

inside my group

Escapes

2.0 Escapes

Allows to escape XWiki Syntax.

FeatureXWiki Syntax 2.1Result
Escape a character

This is not a ~[~[link~]~]
To enter a ~ character use a double escape: ~~

This is not a [[link]]
Escape longer text
(also see "Verbatim")
{{{ some **longer** text //without// formatting}}} some **longer** text //without// formatting

Parametry

2.0 Parameters

W XWiki wersji 2.1 można przekazać parametry do róznych elementów gramatycznych a także bloków tekstu. Jest to używane np. do ich stylizowania. Możesz ustawić dowolny parametr jako parę typu klucz/wartość. Renderer XHTML przekaże te argumenty jako atrybuty XHTML do wewnętrnzej reprezentacji róznych elementów gramatycznych.

XWiki Gramatyka 2.1Wygenerowany XHTML
(% class="myClass" style="myStyle" id="myId" %)
= nagłówek =
<h1 class="myClass" style="myStyle" id="myId">nagłówek</h1>

About the website contents

All of the information on this WebSite is for education purposes only. The place to get specific medical advice, diagnoses, and treatment is your doctor. Use of this site is strictly at your own risk. If you find something that you think needs correction or clarification, please let us know at: 

Send a email: info@cdlsWorld.org