The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Display formatted JSON data/attachments (ConfiDoc Macro?)

Frank Leverenz
September 29, 2023

Hi,

In Jira I can display JSON data with "+" "code" correctly formatted

In Confluence I didn't find a solution. 

Is the ConfiDoc macro the only way?

I tried it with this config, but it didn't work as I expected:

ConfiDoc ListVew Macro.jpg

Frank

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
Tim Kopperud
Community Champion
October 2, 2023

Hi @Frank Leverenz

You can display formatted JSON on a page by using the Code Snippet macro.

json.png

Without a third party app, I don't think you will be able to see a preview from a JSON attachment without clicking on the the attachment icon.

jsonatt.png

Preview clicking the demo.json icon opens this:

jsonattprev.png

You might also see this document

TimK.

TAGS
AUG Leaders

Atlassian Community Events