Stand with Ukraine 🇺🇦

Only Print — Confluence Cloud Macro

external-contentreporting

This macro ensures that the enclosed content is only rendered when the page is printed or exported. It checks the $renderMode variable to conditionally display the content in exported formats like PDF or Word.

Try for free

User Parameters

This macro comes without configurable user parameters.

Template

## renderMode is a variable that is empty in browser rendering

#if ( $renderMode )
  This block will be NOT rendered on the page
  But exported or printed (PDF, Word, Email, custom exporters)
#end