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

0 vote
Boris Berenberg Community Champion Jan 03, 2018

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

967 views 23 12
Join discussion

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