On the mobile site, the following code block is displayed as a single line.

This is one line

On the desktop version of StackOverflow, it shows as multiple lines. This SO answer uses a triple-grave block, and it shows on multiple lines on the desktop site, but as a single line on the mobile site.

Edit: I thought I saw it as one line for desktop Meta, but it's (currently?) showing as four lines.

  • 1
    The number of backticks doesn't matter (I just checked), it's any inline code. Also shows as a single line on the iOS app. Code blocks should be used for multi line code anyway so I'd say the bug is that it does show as multi line at all. – Cai Nov 5 '16 at 10:32
  • Code blocks have to be taken literally, so a line end in the inline code should be a line end in the end result. @cai – Patrick Hofman Nov 5 '16 at 13:09
  • The FAQ disagrees – Cai Nov 5 '16 at 14:15

You must log in to answer this question.

Browse other questions tagged .