Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,293,203
Community Members
 
Community Events
165
Community Groups

Bash does not show up on the Confluence page for a code snippet

On Settings, Code Macro Admin, I see Bash as a potential default language. I cannot add a language only set the default. On a Confluence page, in a code snippet, Bash does not show up. How can I set Bash on the Confluence page? 

 code.png

2 answers

1 accepted

0 votes
Answer accepted
Benjamin Community Leader Apr 26, 2021

Bash used to be part of the list when confluence had the code block Macro. I believe for the code snippet, shell is used instead. 

Thanks. Just seems odd that we can set Bash as a default language and it doesn't show up on the selection list for the page. 

The Code Block macro is still available if you use the Legacy Editor template, but Atlassian should really make the new Code Snippet macro support bash syntax!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Confluence: Where work and wellness meet

Feeling overwhelmed by the demands of work and life? With a 25% increase in the prevalence of anxiety and depression worldwide during the pandemic, for most of us, it’s a resounding yes . 🙋‍♀️ ...

723 views 5 21
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you