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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Any free option to highlight JSON in Confluence?

Is anyone aware about an easy way to highlight JSON in Confluence? And it should be for free, if possible.

1 answer

1 accepted

1 vote
Answer accepted

You should have a syntax highlight option in the code macro for JSON.

image.png

Hi Davin and thanks for your answer.

Do you mean something as discussed here: like JSON syntax highlighting in confluence code block, specially Json Brush for SyntaxHighlighter?

Silly me. You know what, I forgot that I did add JSON as a custom syntax highlighter. It doesn't come by default. And I actually did get the brush from the second link you provided. Once you have that you can upload it into Confluence in Confluence Admin -> Configure Code Macro.

Like # people like this

Thanks a lot for your help, Davin. It works!

Glad that helped.

May be it was in past - but now I don't see JSON in list :

Screenshot 2020-09-04 at 12.49.09.png

You have to add the JSON highlighter brush. it is not there by default. See the comment by @Jose M_ on Sep 19th, 2019 above and my reply below it.

You really have to wonder... why the hell does Jira support formatting for Erlang, Delphi and other obscure things but not plain old JSON?? What's wrong with you Jira, get your act together, it's 2021 for heavens sake...

Suggest an answer

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

🏑 Atlympic Event: Confluence

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

390 views 15 12
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