When I add a Code Block Macro and set the language to "Diff", I expect the syntax highlighting to make lines that begin with '-' red, and lines that begin with '+' green. Instead, lines that begin with '-' are green and lines that begin with '+' are dark blue.
Example (I tried a few variants just to see if it would make a difference):
Is there a way to fix this (or a workaround) to get the correct formatting, which should be:
Hi @Kit.Paulson welcome to the community! It's not clear from your message if you're using Confluence Server or Confluence Cloud. If you're using Confluence Cloud, it appears that Atlassian has reworked their page editor to now have a Code Snippet Macro. My cloud instance has the Code Snippet, and I'm unable to recreate your issue on my site. I'm wondering if you're using the older editor and it's causing the problem.
Hope that helps.
Thanks for your feedback! It looks like I was using the old editor; when I preview my page in the new editor the colouring is correct. I'll switch to the new editor going forward.
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.