Code block content wrapping
in progress
J
Jordan Rowe
When I add a long single line shell script I would like an option to wrap the text. This would help make it far more readable since I won't need to scroll horizontally to view it all.
Log In
M
Michael von Hohnhorst
in progress
Little update on this ticket:
- Content wrapping has been a forced default for a while now.
- With the __next update__, we'll introduce a toggle option to give you more control over code blocks.
- It will have the following defaults:
- Line-wrapping will be turned off by default on desktop
- and turned on by default on mobile
- There is no more vertical constraint; code blocks grow vertically with the content.
- The "Lock editing" option will be moved to the three-dots menu to declutter the toolbar.
Please comment if you have any suggestions/feedback regarding these changes.
Thanks!
For example, do any of you think a global default option is needed?
M
Michael von Hohnhorst
This will be the new code block menu:
M
Michael Wang
I'd totally like this feature as well.
Please add the feature to allow word wrap in code blocks.
Thank you.
Capacities
open
Not actively worked on, moved to open for now.
U
Unknown User
It's going to be a year but this features has not been added yet as per my review of web and app both . If I am wrong please correct me.
U
Unknown User
Is this feature added ?
U
Unknown User
I came here to ask this feature because it is good so that I can read code in mobile screen
M
Michael von Hohnhorst
under review
B
Berk Karaal
Michael von Hohnhorst please make it optional via something like a toggle on the code block. Currently it seems like wrapping is the only option and reading long terminal output with wrapping is really hard.
Steffen Bleher
open
J
Justin Maxwell
I just created similar but added removing vertical constraint as well. I don't want a scrolling block.
Load More
→