The Adaptavist Group LogoDocumentation

HTML Comment

The HTML Comment macro allows you to add comments to your page source code. This is useful when you want to provide detail or instruction to internal users without rendering the content on the published page, for example, if your page is exported for use in another publishing format. The HTML Comment macro is displayed in the source, inline only.

Add a HTML Comment to your page

  1. Navigate to the page you want to edit.
  2. Click Edit.
  3. Click Insert More Content → Other Macros .
  4. Select the HTML Comment macro from the Macro Browser.
    The Insert Macro window displays.
  5. If you do not want the comment to be rendered in the source code, select the Hide in Source Code checkbox.
  6. Click Insert.
    The macro placeholder displays.
  7. Enter the required comment.
  8. Click Save on your Confluence page.
    You can view the comment in the page source code.

Search documentation

Start typing to search the docs.