# Changes for page Writing XWiki Rendering Macros in wiki pages

<
From version
on 2018/11/16
To version
edited by Thomas Mortagne
on 2018/11/16
>
Change comment: There is no comment for this version

## Details

Page properties
Author
 ... ... @@ -1,1 +1,1 @@ 1 -XWiki.atallahade 1 +XWiki.ThomasMortagne
Content
 ... ... @@ -35,14 +35,17 @@ 35 35 36 36 This class contains the following fields: 37 37 38 -* Macro id: Id of the macro to be used by users when invoking your macro from wiki code 39 -* Macro name: Name of the macro to be displayed on the wysiwyg editor 40 -* Macro description: A short description of the macro to be displayed on the WYSIWYG editor 41 -* Default category: Default category under which this macro should be listed 42 -* Supports inline mode: Whether the macro can be used in an inline context or not 43 -* Macro content type: Whether this macro should support a body or not 44 -* Content description: A short description about the macro's content to be displayed on the WYSIWYG editor 45 -* Macro code: The actual wiki code that will be evaluated when the macro is executed, can be any xwiki content (should be in the same syntax as the document) 38 +* **Macro id**: Id of the macro to be used by users when invoking your macro from wiki code 39 +* **Macro name**: Name of the macro to be displayed on the wysiwyg editor 40 +* **Macro description**: A short description of the macro to be displayed on the WYSIWYG editor 41 +* **Default category**: Default category under which this macro should be listed 42 +* **Supports inline mode**: Whether the macro can be used in an inline context or not 43 +* **Macro content type**: Whether this macro should support a body or not 44 +* **Content description**: A short description about the macro's content to be displayed on the WYSIWYG editor 45 +* **Macro code**: The actual wiki code that will be evaluated when the macro is executed, can be any xwiki content (should be in the same syntax as the document) 46 +* **Asynchronous rendering**: {{info}}Since 10.10{{/info}} Enabled or disable asynchronous rendering of the panel. Disabled by default. 47 +* **Cached**: {{info}}Since 10.10{{/info}} Indicate if the result of the execution of the element should be cached. Disabled by default. 48 +* **Context elements**: {{info}}Since 10.10{{/info}} The context information required during the execution of the extension (current user, current document, etc.). It's also used to generate the cache key. 46 46 47 47 Now we can define our hello macro as shown below: 48 48