How to add an additional language in Code Macro

I am not able to add a language because I simply don't have the link 'Add additional language. I have system administrator rights so I should actually have the rights to do so.

 

image2016-11-28 16:3:18.png

2 answers

0 votes
Sam Hall Community Champion Nov 28, 2016

Hi Alexa, 

This is not possible in Cloud (without using a custom add-on like that suggested by @Robert Massaioli in the other answer).

Comparing the cloud documentation at: https://confluence.atlassian.com/confcloud/code-block-macro-724765175.html

...with the server documentation at: https://confluence.atlassian.com/doc/code-block-macro-139390.html

Only the server documentation has the "To add an additional language" section. 

I suspect this is because adding an additional language involves JavaScript, and Macros involving this have restricted functionality in Cloud instances: https://confluence.atlassian.com/confcloud/restricted-functions-in-confluence-cloud-734070955.html

Sam

0 votes

You could try and install the Better Code Block macro for Confluence Cloud that I wrote. It supports many more languages: https://cloud-code-macro.atlassian.io/docs/home

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 29, 2018 in New to Confluence

How to use Confluence Cloud for stakeholder management

Most of us don’t need much convincing that stakeholder management is important. It just makes sense that keeping everyone in-the-know on projects and assigning clearly defined roles is key to having ...

1,007 views 0 5
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