Example: Return the Page ID
Instructions on creating a macro that will pull a specified Page ID onto a desired Confluence page.
You can create a macro to pull the Page ID of Confluence content onto a Confluence page.
Tip: This is a simple example of the way a custom macro can return page information. This example can be customized for different results.
Create the macro
The macro appears on the main Macros page.
Additionally, users in your instance can add it to Confluence pages. When it's added and the page is published, it appears like this: