You can mark content to be excluded from exports by inserting it into a Scroll Ignore or Scroll Ignore Inline macro. The content will still be displayed as normal within Confluence.
The difference in how these macros work is that a line break is inserted when the Scroll Ignore macro is used, and no line break is inserted by the Scroll Ignore Inline macro. Subsequently, as a result of this difference, please note that the Scroll Ignore Inline macro does not support rich text content and only uses plain text formatting. This is because rich text can also include non-inline content.
Once the macro is inserted, you can Edit it to select which Scroll Exporter app(s) specifically ignores the content in the export.
If you want to ignore content in Confluence, but still display it in exports, you can use the Scroll only or Scroll only inline macros.
Don't want the content to be highlighted?
If you don't want the Scroll Ignore content to be highlighted in the Confluence page view this can be disabled using an advanced plugin setting. To do this, simply navigate to Confluence administration > Scroll Runtime > Advanced Plugin Settings > select Scroll Exporter Extensions from the drop-down. Then change the value of the setting
enableScrollIgnoreContentHighlight to false.