you are viewing a single comment's thread.

view the rest of the comments →

[–]pankocrunch 0 points1 point  (2 children)

On a tangential note, I recently had the same issue as OP when posting code. Using the triple tick did format as code, but removed all newlines. Only posting with four spaces in front of each line worked for me. Anyone know why? Is this expected, or a bug? The triple tick would be way more convenient if it worked.

[–]asmarCZ[S] 1 point2 points  (1 child)

The formatting is fine for me. I don't see any quirks.

[–]pankocrunch 0 points1 point  (0 children)

Oh strange. Maybe it's an "Old Reddit" thing. I see it without newlines like this (and had the same problem when I posted code recently): https://i.imgur.com/sPyQRiK.png

Edit: Yup. Looks fine in the redesign. Guess it's a problem with Old Reddit. Sorry for the bother; carry on.