Using macros helps you to extend 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.
Add a Macro to your Page
To add a macro to a page:
- In the Confluence editor, choose > Other Macros
- Find and select the required macro
Speeding up macro entry with autocomplete:
- In the new editor - Type / and the beginning of an element (tool or things in the insert menu) to see a list of suggestions.
- In the legacy editor - Type { and the beginning of the macro name to see a list of suggested macros.
Details are in Keyboard shortcuts, markdown, and autocomplete.
To edit an existing macro
Click the macro placeholder and choose Edit. A macro dialog window will open, where you can edit the parameters of the macro.
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
Macros in the legacy editor only
Below is a list of the macros available in the legacy editor.
Click a macro name for details of the usage, including optional parameters and examples.
- Anchor Macro
- Cheese Macro
- Code Block Macro
- Column Macro
- Content by User Macro
- Create Space Button Macro
- Expand Macro
- Favorite Pages Macro
- Global Reports Macro
- IM Presence Macro
- Info, Tip, Note, and Warning Macros
- JUnit Report Macro
- Loremipsum Macro
- Multimedia Macro
- Navigation Map Macro
- Noformat Macro
- Panel Macro
- Recently Used Labels Macro
- Search Results Macro
- Section Macro
- Space Attachments Macro
- Space Details Macro
- Status Macro
For alternate methods for accomplishing the goal of older macros, check out these suggestions.
Macros available in both editors
Below is a list of the macros available in both editors.
Click a macro name for details of the usage, including optional parameters and examples.
- Attachments Macro
- Blog Posts Macro
- Change-History Macro
- Chart Macro
- Children Display Macro
- Content by Label Macro
- Content Report Table Macro
- Contributors Macro
- Contributors Summary Macro
- Create from Template Macro
- Excerpt Include Macro
- Excerpt Macro
- Gallery Macro
- Google Drive macros
- iFrame Macro
- Include Page Macro
- Insert Microsoft Office macros
- Jira Chart Macro
- Jira Issues Macro
- Jira Roadmap Macro
- Labels List Macro
- Livesearch Macro
- Microsoft OneDrive for Business Macro
- Network Macro
- Office Excel Macro
- Office PowerPoint Macro
- Office Word Macro
- Page Index Macro
- Page Properties Macro
- Page Properties Report Macro
- Page Tree Macro
- Page Tree Search Macro
- PDF Macro
- Popular Labels Macro
- Profile Picture Macro
- Recently Updated Dashboard Macro
- Recently Updated Macro
- Related Labels Macro
- Roadmap Planner Macro
- Spaces List Macro
- Table of Contents Macro
- Table of Content Zone Macro
- Task Report Macro
- User List Macro
- User Profile Macro
- We're cleaning up our macros
- Widget Connector Macro
Macros from the Marketplace
Many more macros are available from the Atlassian Marketplace.