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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.