How to set the default appearance of code blocks for JUST a Space (Not Globally)

Hi community, 
We'd like to do something similar to the following. However, instead of doing this globally, we only want to change the code macro for only one space because spaces are managed by different teams.

Thanks

+++++++++++++++++++++++++++++++++++++++++++++++++++++
https://confluence.atlassian.com/doc/code-block-macro-139390.html

To set the default appearance of code blocks in your site:

  1. Choose the cog icon, then choose General Configuration under Confluence Administration
  2. Choose Configure Code Macro
  3. Select a Default Theme and Default Language
  4. Choose Save

 

1 answer

This is not really possible. You may be able to hack it together using custom CSS for a space: https://confluence.atlassian.com/doc/styling-confluence-with-css-166528400.html#StylingConfluencewithCSS-GettingStarted

Sorry I forgot to mention that we're using Confluence Cloud. Under Space tools > Look and Feel, there are only themes, header and footer, PDF Layout, PDF Stylesheet. 

The Space tools > Look and Feel > Stylesheet cannot be found.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Sarah Goff-Dupont
Published 6 hours ago in Confluence

Think you know shares vs. @mentions in Confluence? Take this collab quiz.

To anyone who doubts that Atlassians are a little too obsessed with collaboration, and tools related thereto, let me describe a recent discussion we had (which took place on our internal Confluence, ...

71 views 2 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you