Page Index Macro
The Page Index macro creates a hyperlinked alphabetical index of all page titles within the current space.
The top section of the index contains a cell for each letter of the alphabet, with cells for numbers and symbols. Each cell indicates how many pages are in the corresponding list.
The lower section contains lists of page titles followed by the first few sentences of content on that page.
Each letter, number or symbol in the top section is hyperlinked to the corresponding cell in the lower section. Each page title in the lower section is hyperlinked to the page in the space.
Screenshot: Page Index macro (partial view)
Using the Page Index macro
To add the Page Index macro to a page:
- In the Confluence editor, choose Insert > Other Macros
- Find and select the required macro
Speeding up macro entry with autocomplete: Type { and the beginning of the macro name, to see a list of suggested macros. Details are in Autocomplete for links, files, macros and mentions.
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.
This macro accepts no parameters.
Code examples
The following examples are provided for advanced users who want to inspect or edit the underlying markup for a Confluence page.
Macro name: index
Macro body: None.
Parameters: None.
Storage format example
<ac:structured-macro ac:name="index"/>
Wiki markup example
{index}