
By Yamuno Team
02 Apr 2026
We're thrilled to announce that HTML Macro for Confluence is now live on the Atlassian Marketplace — and it's free!
Confluence is great for documentation, but sometimes you need more than what native macros can offer. Now you can embed fully custom HTML, CSS, and JavaScript directly inside any Confluence page — interactive charts, branded sections, custom embeds, you name it.

HTML Macro for Confluence is a Forge-native Confluence Cloud app that lets you insert a rich code editor directly into any page. Write HTML, CSS, and JavaScript with syntax highlighting, see a live preview as you type, and publish polished interactive content — all without leaving Confluence.
The macro opens a three-tab editor (HTML, CSS, JS) with syntax highlighting. A resizable split panel shows the rendered output in real time as you type — no more guessing how your code will look once saved.

Security is built in, not bolted on. Admins choose from three Content Security Policy modes:
This means you can let teams use Chart.js, Google Maps, or YouTube embeds safely — by whitelisting only the domains you trust.
Not everyone on a page should be able to edit embedded code. HTML Macro lets admins whitelist specific users who can open the code editor. Everyone else sees only the rendered output — source code stays private.
The macro auto-adjusts its iframe height to match the content — no fixed heights to set, no awkward blank space below your widget.
Admins get a dashboard showing every Confluence page using the HTML Macro across the entire instance, with space breakdowns and direct page links. Understand adoption and audit usage in seconds.
HTML Macro for Confluence is 100% Forge-native. All content is stored inside Atlassian's infrastructure. Nothing is sent to external servers — ever.
Here are a few things teams are already building with HTML Macro for Confluence:
If you can build it with HTML, CSS, and JavaScript — you can put it in Confluence.
/HTML MacroHTML Macro for Confluence is available for free. Install it today and start building richer Confluence pages in minutes.
👉 Install HTML Macro for Confluence
Questions or feedback? Reach out via our support portal — we'd love to hear what you build with it.
Get product updates and tips straight to your inbox.
No spam, ever.
Notion is sleek. Confluence is powerful. But which one actually works better for engineering teams? Here's an honest breakdown covering docs, code, integrations, and scale.
Read moreNeed your Confluence docs in markdown? Here's how to export a single page, a page tree, or an entire space — with attachments, hierarchy, and formatting intact.
Read moreScreenshots of equations break, plain text loses precision, and external editors add friction. Here's how data science teams use LaTeX Math for Confluence to document ML models properly.
Read more