Using macros helps you to expand the capabilities of your Confluence pages, allowing you to add extra functionality or include dynamic content. For example, use the Attachments macro to list files attached to a page, or use the Widget Connector macro to include things like a YouTube video or Twitter feed.



Adding a macro to your Page

  1. First navigate to the page that you wish to add a macro to and click  at the top. (If this isn't visible it may mean that you don't have admin rights for the page or space. Contact the space administrator or the Digital Tools Team for assistance).
  2. From the editor toolbar, click  and select Other Macros from the bottom of the drop-down list:



  3. Find and select the required macro:

Speed things up with autocomplete:

When editing a page, type { followed by the beginning of the macro name, to see a list of suggested macros. In the example below we're inserting the cheese macro.

Edit an existing macro

Click the macro placeholder and choose Edit. This will open the macro details, so you can edit the macro parameters.

Macro Parameters

Many macros have optional parameters you can use to control the macro's output.

With the Attachments Macro, for instance, you have two optional parameters allowing you to:

  • Specify the file formats of the attachments displayed
  • Choose whether or not you want old versions of the attachments displayed

Macro Placeholders

Macro placeholders are displayed in the editor where you have added a macro to the page.

When editing a page, you can:

  • Double-click a macro placeholder (or click the placeholder and choose Edit) to open the macro dialog window and edit the macro's parameters
  • Select a macro placeholder to cut, copy and paste the macro

List of Confluence macros

Below is a list of the macros currently included with Confluence. Click a macro name for details of the usage, including optional parameters and examples.


Table of Contents