Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Code Block Macro - No Syntax Highlighting

Rickey Whitworth
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 19, 2025

When I use the Code Block Macro in Confluence Cloud (/code) I have the option to pick different languages. 

However, it doesn't matter what language I choose, I am not getting any kind of highlighting for the code. They all look the same, white text on a dark background.

Screenshot 2025-01-19 133217.png

1 answer

1 accepted

1 vote
Answer accepted
Kristian Klima
Community Champion
January 20, 2025

Hi @Rickey Whitworth and welcome to the Community.

The code highlights will be visible once you save / publish the page. It's not displayed in the edit mode.

See the Python sample behavior

2025-01-20_09-09-09.gif

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events