Macro numbering

The Numbered Headings macro allows you to number part of a page. You can have multiple macros on a page which each have their own numbering.

Using the macro

You can find the Numbered Headings macro in the Confluence macro browser. When you edit a page, locate the insert button in the editor toolbar and choose Other macros. In the browser, search for Numbered Headings.

Alternatively, you can start typing on the page. By typing {number Confluence will suggest to add the Numbered Headings macro.

Headings inside the macro will be numbered. You can add multiple macros to a page, macros are not aware of each other.

We discourage combining macro numbering and page numbering.

Macro configuration

If you don't want to use the default numbering format, you can change the configuration of the numbering. When you click on the macro, an option to edit the macro will appear. This button will open the macro editor.

On the left of the macro editor you will find a number of options. On the right you will find a preview based on the content inside of the macro.

For an overview of the available formatting options, refer to Formatting options:

Find all pages with the macro

Sometimes you want to see all pages that use the Numbered Headings macro. For example when you are migrating from using the macro to using the Numbered Headings toolbar button. Or when you want to remove al macros to uninstall Numbered Headings altogether.

To find all pages that use the Numbered Headings macro, use the following search query in Confluence search:

macroName: numberedheadings*

This will only display pages that use the macro. It will not display pages that use other ways to number headings, such as space numbering or the toolbar button.

Last updated