Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,301,230
Community Members
 
Community Events
165
Community Groups

Format Children Display Macro

Is there any way to format the content displayed by the "Children Display" Macro?

I want to put the content into a table or something like a box, change background and font colour, etc. 

Maybe any of you have experiences. Thank you!

1 answer

1 accepted

0 votes
Answer accepted

Hello @David Gfrerer ,

You cannot directly change the "Children Display" Macro being part of the Confluence platform (you could try to get it from the source jars , but it should NOT be done, you should not change the source code of the platform).

What you can do< I suppose:

  1. Create your own macro with Atlassian SDK and make the logic you need
  2. Change how the "Children Display" Macro displays the information directly in the page UI after content is rendered using HTML/CDD/JS code in HTML macro or in Space/Global custom styles. 

Hallo @Andrii M 

Thanks for your quick response, I basically got you.

What do you mean by source jars?  Can I  then get the source code of the macro just to copy it and use it in my own macro so I just have to change the formatting part?

 

@David Gfrerer ,

The bundled plugins are located in {CONFLUENCE_HOME}\confluence\WEB-INF\atlassian-bundled-plugins\...

e.g. TOC plugin - toc-plugin-6.1.4.jar

Please refer to these docs to read about SECURITY and RISKS :

https://confluence.atlassian.com/confkb/how-to-remove-bundled-or-system-plugins-648544751.html

https://confluence.atlassian.com/jirakb/how-to-edit-bundled-or-system-plugins-608731476.html

Like David Gfrerer likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

418 views 2 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you