Forums

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

How do I import a code from unix to build a confluence page ?

varun parmar June 14, 2023 edited

Hi,

I want to display some data in a hierarchical reference format in confluence. To elaborate on hierarchical reference i mean user should be able to follow through by selecting a section which then expands the references beneath. Also knows as progressive disclosures tabs sometimes. Maybe expand macro is the one which I need if i can nest it further.

A quick example :

> Module_A

> Module_B

> Module_C

 

Module_A when expanded can display whats underneath  :

>Module_A1

>Module_A2 ...

 

Module_A1 when expanded can have more information underneath : 

>Module_A1_a1

>Module_A1_a2

Module_A2 when expanded can have more information underneath : 

>Module_A2_a1

>Module_A2_a2

 

Similarly Module_B and Module_C can have such information too.

 

So I want to know whether I can put in some format that is needed by confluence to display above data . I can generate on the unix side using python or perl or whatever language I find comfortable with.

So I want to know whether this is doable or not ?

I found code block macro as well which i thought can be used but it looks like its just for displaying bare code in confluence. It does not translate to a specific data format I need. Correct me if i am wrong.

1 answer

0 votes
Brant Schroeder
Community Champion
October 1, 2023

@varun parmar you would need to use the Conflunce API to create the pages and the hierarchy. 

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, confluence whiteboards, whiteboard templates, template contest, visual collaboration, atlassian learning, confluence community, brainstorming tools, agile planning, team productivity, confluence templates, share your template

Share Your Confluence Whiteboard Template for a Chance to Be Featured in the Product! 🏆

Want to leave your mark on Confluence? One winner will have their whiteboard design added into Confluence for all users to access! This is your chance to showcase your creativity, help others, and gain recognition in the Confluence community.

Share your template today!
AUG Leaders

Atlassian Community Events