The {html}
macro allows you to use HTML code within a Confluence page.
The {html-include}
macro allows you to include the contents of an HTML file in a Confluence page.
You need System Administrator permissions in order to perform this function.
Related pages:
The information on this page does not apply to Confluence OnDemand.
To enable the HTML macros:
- Choose the cog icon
at top right of the screen, then choose Confluence Admin.
- Choose Manage Add-ons in the left-hand panel. This will display the installed add-ons on this Confluence installation.
- Choose Show System Add-ons.
- Choose Confluence HTML Macros
- Expand the x of 11 modules enabled to see the list of modules in the plugin.
- Enable one or both of the following modules:
- The html (html-xhtml) module for the HTML Macro.
- The html-include (html-include-xhtml) module for the HTML Include Macro.
You will need to configure one or more allowed sources for this macro by adding them to the whitelist.