With the new post formatting there's extra horizontal whitespace at the left of code blocks (not to be confused with the increased line height).

Before the new formatting:

enter image description here

Now (red circle shows the extra space):

enter image description here

I don't know if this extra space is intentional, but it is annoying. I keep thinking "there's unwanted space there, let's fix that code block".

It is also confusing, at least in some sites, such as Code Golf and Coding Challenges. In that site, code typically needs to be as short as possible, and specialized programming languages are often used in which a space character can be much more meaningful than in normal languages. For example, in the images shown above, one would now think that the code has 5 bytes (not the claimed 4), with an initial space character.

The whitespace before the new formatting was tiny enough that it wasn't confused with an actual space character. Can we revert to that?

  • 10
    So many times now I've gone back to edit my answer because I thought embarrassingly left extra white space in. So I count out 4 spaces... and the space is still there 😑 – Carcigenicate Sep 8 at 15:13
  • 1
    @Carcigenicate yeah, me too makes wry face. – Ollie Sep 9 at 21:52

You must log in to answer this question.

Browse other questions tagged .