Code Snippet Not Working in Numbered Headings Block

Ryan James
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!
August 30, 2023

Hello,

I have a page which I'm using the Numbered Headings macro to automatically apply numbering based on the heading type used. Within this macro block I have included some code block but have noticed they are not being displayed properly. 

Code blocks work outside of the Numbered Headings block so I assume it is a problem with combining the two. Is there anything I can do to fix this?

While editing:

img_1.png

While viewing:

img_2.png

Kind regards,

Ryan

1 answer

0 votes
Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 27, 2023

@Ryan James Welcome to the Atlassian community

Some macros will not not work inside other macros and that is the case here.  Nothing you can do to change it.  

Daniel Hauswirth
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!
May 17, 2024

It used to work in the old editor, sadly with the new editor in Confluence cloud  this  doesn't work anymore

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events