Better code blocks.
The worst thing, in my opinion, is how code blocks wrap around like so, not preserving the code, this looks bad, and makes code really confusing, especially in languages where indenting really matters, like python.
In my opinion, it would look much better if code blocks didn't wrap around the screen, and instead looked like so, with the bit at the bottom being the scrollbar (excuse my drawing, it really isn't my strong suit):

Additionally, since this is a reasonably easy feature to implement, you could add a setting that allows you to toggle it off/on, this feature would also be useful on mobile, where since the display size is small, code gets squished down so much, it's almost impossible to read.
-
This is a great idea. This would be super helpful to me as I run a code-based server where we share code often. This scroll bar would help with beginners accidentally making errors when looking off of shared code. I hope this comes to the stock Discord app.
1 -
A label with the format name would be also a good addition, mainly on mobile, as the app doesn't support every format yet
2 -
Please please please. It would be so nice to have an option similar to syntax highlighting where you just type “nowrap” after the backticks.
I use prettytables to format nicely and on mobile the tables are absolutely destroyed. All the work I’ve been doing on my bot will be for nothing!0 -
Need this... Come on Discord
0
Please sign in to leave a comment.
Comments
4 comments