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 😑 Sep 8, 2020 at 15:13
  • 1
    @Carcigenicate yeah, me too makes wry face.
    – Ollie
    Sep 9, 2020 at 21:52
  • Old version looks way too tight to me... :-/ Oct 17, 2020 at 23:53
  • @JoshGoebel Tight, tight, tight, yeah!
    – Luis Mendo
    Oct 18, 2020 at 0:58


You must log in to answer this question.

Browse other questions tagged .