[Converted to Issue] Code blocks should not be collapsed. #4
Replies: 3 comments
-
I would agree that extending the height to 15-20 lines would often make more sense, letting it collapse automatically above that. |
Beta Was this translation helpful? Give feedback.
-
It might be helpful to have a floating "collapse" button. If you start scrolling on |
Beta Was this translation helpful? Give feedback.
-
Converted to #22 |
Beta Was this translation helpful? Give feedback.
-
When we provide code for users, we should assume that all code is relevant and that it's better to see all the code than just a portion of it. I'm sure there are instances where functions are too long. In those cases, maybe we can collapse, or consider not showing the block.
Screenshot
Beta Was this translation helpful? Give feedback.
All reactions