The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
You should have a syntax highlight option in the code macro for JSON.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
May be it was in past - but now I don't see JSON in list :
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I also wonder why they've never supported JSON... it's been around for a decade.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks all. Adding the Json Brush for SyntaxHighlighter from DONOVAN BROWN tech blog did the trick for me and now the code block macro allows json syntax highlighting . I was oblivious till day that confluence allowed adding syntax highlighting so easily provided you can get a "brush".
I have an additional question though - Where can I see notes/guidelines on creating my own "brush" for syntax highlighting or modifying an existing one - if I needed to do so ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.