Changes for page Writing XWiki Rendering Macros in wiki pages
Last modified by Simon Urli on 2023/10/10
Change comment:
Upload new image "macro1.png", version 1.12
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. MichaelHamann1 +XWiki.mleduc - Content
-
... ... @@ -51,15 +51,13 @@ 51 51 == Content == 52 52 53 53 {{version since="11.4RC1"}} 54 -The rearewowaysto insert the content of the wiki macro.54 +The easiest way to insert the content of the wiki macro is to use a dedicated macro in the body of the wikimacro: 55 55 56 -* The easiest way is to use a dedicated macro in the body of the wikimacro:((( 57 57 {{code language='none'}} 58 58 {{wikimacrocontent/}} 59 59 {{/code}} 60 60 61 61 Note that by default this makes the content of the macro directly editable in [[the WYSIWYG editor>>https://extensions.xwiki.org/xwiki/bin/view/Extension/CKEditor%20Integration/#HWikiMacros]]. 62 -))) 63 63 {{/version}} 64 64 65 65 For more details, see the [[Scripting Tips section below>>||anchor="HScriptingTips"]]. ... ... @@ -244,6 +244,7 @@ 244 244 #else 245 245 Hello world! 246 246 #end 245 +{{/velocity}} 247 247 {{/code}} 248 248 249 249 If we invoke it twice in a row:
- macro1.png
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. VincentMassol1 +XWiki.mleduc - Size
-
... ... @@ -1,1 +1,1 @@ 1 - 117.1KB1 +83.5 KB - Content