Features
- Supports capabilities for including data similar to other scripting macros.
- Supports find and replace for adjusting resulting output.
- Allows administrators to restrict the usage of Javascript in the HTML macro (refer to Allow JavaScript in Configuration settings). The Confluence page throws a rendering error if this parameter is not enabled, and Javascript is inserted while using the macro.
Parameters
Examples
The following examples show how you can use the macro to render HTML content:
HTML from an attachment
{html:script=^example.html} {html}
HTML from an URL
{html:script=#http://localhost/example.html} {html}
Use of CSS inline style sheet
{html} <P style="font-size: x-large; color: #8000"> Using inline style sheets - or is that inline styles? </p> {html}