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

Howard Chung
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 3, 2018

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 votes
Boris Berenberg - Atlas Authority
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 3, 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

Howard Chung
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 3, 2018

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
TAGS
AUG Leaders

Atlassian Community Events