how to highlight JSON?

This question is in reference to Atlassian Documentation: Code Block Macro

Ask your question here...

3 answers

1 accepted

2 votes
Accepted answer

Your best bet is to choose "Javascript" from the syntax highlighting option. Otherwise you can install a custom SyntaxHighlighter brush like this one: http://donovanbrown.com/post/2016/01/10/Json-SyntaxHighLigther

You could use JSON Viewer Macro for Confluence (Cloud & Server) 

You can use Code Syntax Highlighter plugin for Confluence cloud, which supports JSON.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,440 views 110 8
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you