The {html-include}
macro allows you to include the content of an HTML file in a Confluence page. This page tells you how to enable the macro, so that it is available on your Confluence site. For help on using the macro, see HTML Include Macro.
The information on this page does not apply to Confluence OnDemand.
Enabling the HTML Macros
By default, the HTML macros are disabled. You should only turn on these macros if you trust all your users not to attempt to exploit them.
You need to have System Administrator permissions in order to perform this function.
To enable the HTML macros,
- Choose the cog icon
at top right of the screen, then choose Confluence Admin.
- Select 'Plugins' in the left-hand panel. This will display the installed plugins active for this Confluence installation.
- Click' 'HTML macros', then click 'Enable Plugin'.
To embed an external page,
Use the following syntax:
{html-include:url=http://www.example.com}
To include HTML inline,
Use the following syntax:
{html} <b>I like cheese</b> {html}
RELATED TOPICS
-
Page:
-
Page:
-
Page:
-
Page:
-
Page: