Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

There is a bug when embedding the page that has code

Veronika Vrhovec May 20, 2022

Hi,

I'm reorganising the Confluence space and embed some pages to another ones. To do so, I'm using Macro "Include Page" and it embeds all the attachments/tables/images/... well, besides sections with code.

In case where there is code in the page being embedded, the code gets embedded, but looks awful and doesn't meet the standards. You can see it yourselves on the screen shot provided.

Let me know how to fix it :)

KR,
Veronika


embedded page with code.png

1 answer

0 votes
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 23, 2022

Hello Veronika,

Welcome to Atlassian Community! It's nice to have you join us.

The code macro doesn't display in the correct format from the Include page macro, and we have an open request to fix that:

  • CONFCLOUD-71644  Code Snippet macro does not display the same styling on using Include page macro

The workaround suggests using. the Excerpt and Excerpt include macros instead. Can you try that and let me know if you have different results?

Take care,

Shannon | Atlassian Community Support

Suggest an answer

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

Atlassian Community Events