InlineScriptMacro

Enables you to put certain information inline.


Example

Using the following example, you can put certain information in the page inline.

Creating a InlineScriptMacro

  1. To add a InlineScriptMacro, go to the necessary Confluence page, click Insert more content, and select Other macros > SIL inline script.




  2. In the displayed dialog, enter the following:

    return "Hello " + currentUser() + "! Current date is " + currentDate() + ".";
  3. Click Save.


Result

Every time that you update a page, the macro will put this information on the page.

See also

Peacock