Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Code snippets not collapsable?

Robert E_ Schneider April 17, 2020

Apparently the codeblock macro has been replaced by code snippets.

Here's my question: you could configure codeblocks to be collapsable. Thus it was possible to hide a good chunk of code when the page opens and the user was able to expand the code that she was actually interested in.

For code snippets I cannot find an equivalent. Has this feature been removed?

If so, it must be put back, lest I will not be able to convert any of my pages to make use of the new editor.

3 answers

1 accepted

0 votes
Answer accepted
Dominic Lagger
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.
April 25, 2020

Hi @Robert E_ Schneider 

In fact, this possibility is gone. There are some more restrictions with the new code snippet...

Found this feature request:

Feel free to vote for this issue

Regards, Dominic 

Robert E_ Schneider April 27, 2020

Hi Dominic_Lagger, 

thank you for the hint! I've cast my vote. An I dearly hope to see some advancement, as I just cannot update to the editor with all of these restrictions :-(

Regards Robert

Like • Dominic Lagger likes this
0 votes
Marco Piccioni
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!
December 14, 2023

I'm using the Expand macro and inside I add a code block

0 votes
Honza Černík
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!
October 29, 2021

Hi, Dominic_Lagger,
collapsing the code snippet is the main function of the macro. The reason is obvious to anyone who needs to use such a macro. Why is such a bug as incorrectly removing a key property referred to as an enhancement. Should we expect other similar improvements ?

Regards 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, likes for trees, atlassian community, social impact, tree planting campaign, community kudos, atlassian giving, environmental impact, sustainability, likes for good, atlassian social responsibility, community challenge

Make every click count—help us plant 50,000 trees! 🌳

Want to make your everyday Community actions directly contribute to reforestation? The Atlassian Community can achieve this goal by liking a post, attending an ACE, sending your peers kudos, and so much more!

Help us plant more trees
AUG Leaders

Atlassian Community Events