unknown macro 'html'

Spriha Kar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 24, 2025

Hi, I have multiple pages where I am facing this issue. Can you guide me on how to resolve this without purchasing any plugin?

2 answers

2 votes
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 25, 2025

Hi @Spriha Kar and welcome,

are you on dc or cloud instance?

On data center, that macro is disabled by deafult. You need to enable it (https://confluence.atlassian.com/doc/html-macro-38273085.html)

On cloud side, it is not available for security reason. There's a third part add-on if you want to try https://marketplace.atlassian.com/apps/1212279/html-macro-for-confluence-cloud?hosting=cloud&tab=overview

Hope this helps,

Fabio

Parva C_ - Narva Software
Contributor
February 25, 2025

I would like to add to what Fabio said above.

It looks like your site was migrated to Cloud from DC or Server. On Cloud, HTML Macro does not exist, so the only option is to use apps.

We have built a drop-in replacement for HTML Macro in the cloud into this app:

HTML Macro for Confluence

We also have a migration guide for users who recently migrated or plan to do so: HTML Macro DC to Cloud Migration

1 vote
Kristian Klima
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 25, 2025

Hi @Spriha Kar 

Let's turn the question around and ask... what do you need the HTML macro for?

Rather trying to find a direct cloud-based replacement, you may look into options of achieving the same goals with different means. A different macro.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events