Changes for page Writing a Macro

Last modified by Alex Cotiugă on 2024/01/17 17:28

From version 19.1
edited by Simon Urli
on 2018/11/19 10:16
Change comment: There is no comment for this version
To version 20.1
edited by Simon Urli
on 2018/11/19 10:25
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -442,3 +442,5 @@
442 442  Block editableContent = new MetadataBlock(content, this.getUnchangedContentMetadata()); // specify the right metadata in order to make the content editable inline
443 443  return Arrays.asList(logoBlock, editableContent);
444 444  {{/code}}
445 +
446 +Please note that you can also specify which syntax will be used inside the macro content, by specifying a metadata containing the name of the syntax to use.
  • Powered by XWiki 15.10.8-node2. Hosted and managed by XWiki SAS

Get Connected