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 vote
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 vote

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
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
Published 12 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, ...

95 views 2 4
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