XWiki Syntax 2.1 » Advanced » Parameters

1.1 XWiki Syntax 2.1: Parameters

1.1.1 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>
Tags:
Created by superadmin on 2021/04/24 22:17
  

Child Pages

Page Tree

All materials copyrighted by e-Lise foundation unless specified otherwise.
e-Lise_v0.02