Spyke
Aux
lemmy.world

I'd rather have to scroll than to look at butchered code formatting. Just let me zoom out instead.

4
robjohnsonreply
programming.dev

You touch on a fair point that yeah, we don't want to go too far and fit code into a narrow viewport at absolutely any cost. But applied wisely, a little judicious indentation would go a long way.

I don't think zooming is a good general solution, since ultimately it makes the code harder to read.

1

Manual zoom allows me to adjust the text to the size which is comfortable.

1

You reached the end

How to Create Responsive Code Blocks | Spyke