Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt

Enables you to put certain information inline.


Example

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

...

  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:

    Code Block
    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.

...

We've encountered an issue exporting this macro. Please try exporting again later.