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 14 Next »

Deprecation notice:

Please note that the User id for URL connection and Password for URL connection parameters are deprecated and will be removed on March 31, 2022. We recommend using profiles to access your data from remote locations.

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