Skip to end of banner
Go to start of banner

HTML macro - Cloud

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 17 Next »

Removal notice

Please note that the URL user and URL user password parameters were removed (see Deprecation notice: URL user and URL user password parameters). We recommend using profiles to access external data.

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 (based on 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}
    
  • No labels