Features Overview

HTML Macro for Confluence is a full-featured code editor and renderer built directly into Confluence. Here's what's included.


HTML, CSS & JavaScript Editor

A three-tab code editor lets you write HTML, CSS, and JavaScript separately. Each tab has syntax highlighting, auto-complete, and configurable editor settings (font size, tab width, theme).

Learn more →


Live Preview

A resizable split-panel preview updates as you type. The preview runs your actual HTML/CSS/JS in a sandboxed iframe — what you see is exactly what Confluence visitors will see.

Learn more →


Secure Content Rendering

When your page is viewed, the HTML renders inside an isolated iframe with Content Security Policy (CSP) enforcement. External resources are controlled by your admin's security settings — block all, whitelist specific domains, or allow all.

Learn more →


All anchor links and window.open() calls inside your HTML are automatically handled through Confluence's routing system. Links work as expected — internal Confluence links navigate within Confluence, external links open safely.


Content Size Limits

Admins can set a maximum content size limit (in KB) to prevent oversized macros from impacting page load performance.


Access Permissions

Restrict who can open and edit the HTML editor. When enabled, only users on the allowed list can access the editor — everyone else can still view the rendered output.

Learn more →


Macro Usage Analytics

The Usage tab in the admin settings panel shows you every Confluence page that contains an HTML Macro. At a glance you get total page count, published page count, and number of spaces using the macro. The sortable, filterable table lets you find any page instantly, and a direct link opens each page in Confluence.

Learn more →