The majority of code snippets I use this code block macro for are JSON and YAML snippets. I think it's kind of lame that in 2020 only XML is properly supported by this block and not JSON and YAML.
When is Atlassian going to brush this one up?
You can add code block highlighter brushes in Confluence Administration -> Configure Code Macro. Below are links to brushes that you can use to add highlighting for JSON and YAML.
JSON: https://www.donovanbrown.com/post/Json-SyntaxHighLigther
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.