element-hq / element-hq/element-web
Line wrap in code blocks
- Dominant language
- TypeScript
- Stars
- 13.5k
- Forks
- 2.8k
- PR merge metrics
- PR metrics pending
Description
**Is your suggestion related to a problem? Please describe.**
I'm always frustrated when I have to side scroll to see the rest of a line in a code block.
**Describe the solution you'd like**
The solution would be to allow word wrap for code blocks, even as a client side optional checkbox would be nice. If a problem is that it would be unclear what is a new line, a solution would be line numbers on the left hand side of the block.
**Describe alternatives you've considered**
The only alternative is just to side scroll, maybe to get a mouse with a better ability to side scroll. This in my opinion isn't a very elegant solution, and would still be awkward.
Contributor guide
Assessment
This issue has not been assessed yet.