XWiki Syntax 2.1 » Advanced » Parameters

XWiki Syntax 2.1: Parameters

2.0 Parameters

With XWiki Syntax 2.1 it's possible to pass parameters to the different syntax elements and also to blocks of text. This is used for example to style them. You can set any parameter key/value pair you want. The XHTML renderer will pass these parameters as XHTML attributes to the underlying XHTML representation of the different syntax elements.

XWiki Syntax 2.1Generated XHTML
(% class="myClass" style="myStyle" id="myId" %)
= heading =
<h1 class="myClass" style="myStyle" id="myId">heading</h1>
Etiquetas:
Creado por Marcel Heckel el 2013/11/14 17:41

Visitado(s) recientemente

Nube de etiquetas

Todavía no se ha etiquetado ningún documento. Los documentos pueden etiquetarse desde la sección de información (pie de página) o desde el panel de información disponible en modo de edición. Para obtener más información consulte la Guía de Usuario.