How do you shorten code?

How do you shorten long codes (e.g., CC template)? Like the arrows on Episode’s CC template before you collapse the code open.

Hey @jiroji you can hide long parts of your code by putting two brackets around it, like this…

#NAME {

CODE…

#}

2 Likes

Thank you! One more thing, what do I do after? I put this in but it’s still a long code. :sweat_smile:

1 Like

Did you put the two brackets between the code you want to hide?
You can hide further details within the overall brackets too…

#NAME{

CODE…

{MORE CODE…} <Like this

#}

1 Like

Yes. I put in a customization code between it like this:

#MCCUSTOM {

label etc…

#}

then i refreshed the portal

1 Like

When you say its still a long code do you mean its still open, not collapsed, or its not shortened enough still?

it’s still open! how how do I close it?

1 Like

Oh! You just press the little arrow that should come up on the left on the first or last bracket code line

1 Like

This is amazing. :grin: I never knew you could do this.

That did it! Thank you so much! :smiling_face_with_three_hearts:

@Tarly Haha yeah the day i discovered this was truly a blessing!

1 Like

No problem! Happy to help :sweat_smile::smiling_face_with_three_hearts:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.