5

On Chrome on Android, code blocks on the mobile site have no syntax highlighting, are not a monospaced font, and words are wrapped.

Mobile site on mobile browser:

enter image description here

Desktop site on mobile browser:

enter image description here

Inline code has the same issue, it isn't a monospaced font.

It has been this way for as long as I can remember. Wouldn't be surprised if this is a dupe.

9
  • @Paw too bad you weren't around four years ago... Aug 30, 2016 at 7:08
  • Thanks for reporting this. So highlighting should be fixed within next 24h.. However I can see one more issue on your screenshot which I can not reproduce: different font-family on code blocks.. It should be monospace but it looks like regular sans-serif font... I need to investigate that more. If you have any more details why is it like that, i'm open to suggestions.
    – Paweł
    Aug 30, 2016 at 7:09
  • @Paweł just curious here. This was requested four years ago. Did you simply miss the request up to this day? (i.e. if someone would have bumped that old question, it would have helped?) Aug 30, 2016 at 7:09
  • 1
    @ShadowWizard I wasn't SO employee 4 years ago. And also, there was a time, when mobile site wasn't the highest priority ever. Sooo not having enough resources to take care about low-priority stuff may delay some fixes (just a little bit :))
    – Paweł
    Aug 30, 2016 at 7:12
  • @Paweł I don't really know how to get more details but I'll try. Using my phone for any reason makes me extremely grumpy but I'll see if I can find out more.
    – Jason C
    Aug 30, 2016 at 7:15
  • @JasonC no problem at all. Can you give me info about your android device + android version? Have you customized anything? Like system/browser font or anything like that?
    – Paweł
    Aug 30, 2016 at 7:17
  • 1
    Nvm. I've find a way to reproduce that. Ok, fix should be visible in couple hours.
    – Paweł
    Aug 30, 2016 at 7:18
  • @Paweł I know, and thanks for taking care of this! Aug 30, 2016 at 7:19
  • @Paweł Oh sweet.
    – Jason C
    Aug 30, 2016 at 7:20

1 Answer 1

2

We've just added code highlighting to mobile code block. Thank you guys for bringing this up.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .