Macros
By using different kind of macros, you can enhance the content and the outlook of your exported document.

Custom field macro

The custom field macro can be used to put document and/or export specific metadata into the document (also into the cover page).
This metadata can be the following:
  • Document title
  • Document version
  • Page number
  • Total page number
  • Document created
  • Document last modified
  • Creator full name
  • Creator user name
  • Last modifier full name
  • Last modifier user name
  • Export date
Date fields can be formatted using format strings as described in Formatting dates. The format string can be put into the format input box.

Page bottom macro

With the page bottom macro a user can place a block of text to the bottom on cover pages (For example information about the author, the publisher, and so on).
To add a Page Bottom Macro, do the following:
1. In the Confluence editor, choose Insert -> Other Macros.
2. In the Select Macro page, find and select the Page Bottom macro:
3. Enter a text:
You can use the .page-bottom CSS class to format the macro.
The content will be put at the end of the page.
Note: It is currently supported for cover pages and for PDF format.

Page break macro

With the page break macro you can put a page break at any place in the document.
To add a Page Break Macro, do the following:
1. In the Confluence editor, choose Insert -> Other Macros.
2. In the Select macro page, find and select the Page break macro:
3. Add the Page break macro where you want to start a new page in the export:
Copy link
On this page
Custom field macro
Page bottom macro
Page break macro