Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unknown macro 'code'

Mike June 13, 2018

Hello!

We upgrade Confluence to version 6.9.1 and after upgrade see pictures with text "Unknown macro 'code'" instead of code fragments in a many old pages. I try to find solution in documentation and knowledge base, but still not found it.

Please, help me to find and solve this problem.

Mike

2 answers

1 accepted

1 vote
Answer accepted
David Benson _draw_io_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 13, 2018

Look at the storage format (top-right "..." menu -> view storage format. That will tell you what the ID of macro there is at that page position.

Mike June 13, 2018

Thanks, David!

I see that every macro has it's own ID

<ac:structured-macro ac:name="code" ac:schema-version="1" ac:macro-id="6b4bf71c-dbb5-4803-83bb-35be37a9ff61">

or 

<ac:structured-macro ac:name="code" ac:schema-version="1" ac:macro-id="7400f6d0-ab47-41e6-bd59-81d3cc558014">

And I don't know how it can help me?

David Benson _draw_io_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 13, 2018

I was more checking it's the built-in "code" macro.

List all your plugins at https://BASE_URL/plugins/servlet/upm/manage/all and find the "code macro plugin". If you open it up does it say all modules enabled?

Like • Martin Lecomte likes this
Mike June 13, 2018

Great thanks, David!!
It was disabled, and work correctly just after "Enable"

Thanks a lot!!

Sorin Nae
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!
September 16, 2019

Mine says "25 of 25 modules enabled" but I still get the same error.

3rdjkadjk
Contributor
July 5, 2023

@Mike where can i list all my plugins at  https://BASE_URL/plugins/servlet/upm/manage/all  ?

1 vote
Philipp salzgeber
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!
July 1, 2019

We had the same problem after upgrading to Confluence 6.15.4 - I don't see why it should have been disabled by the upgrade process.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, confluence, loom, atlassian intelligence, ai notes, ai-powered meeting notes, atlassian community events, ace, confluence ai, loom ai integration, ai note-taking, atlassian ai features, team '25, atlassian live learning, confluence automation

Unlock AI-powered meeting notes: Join our live learning session! 📹

Did you catch the news at Team ‘25? With Loom, Confluence, Atlassian Intelligence, & even Jira 👀, you won’t have to worry about taking meeting notes again… unless you want to. Join us to explore the beta & discover a new way to boost meeting productivity.

Register today!
AUG Leaders

Atlassian Community Events