Here is a view of a code block on the full site (viewed through mobile/iPhone):

enter image description here

Here is a view of the same code block on the mobile site:

enter image description here

Here is a view of the same code block using the Stack Exchange App (from iTunes... I'm sure it's similar on other devices):

enter image description here

None of the mobile versions show the proper, default, (La)TeX (lang-latex, lang-tex) syntax highlighting. Can this be enabled for the mobile versions on this site?

Reference: What is syntax highlighting and how does it work?

1 Answer 1


Update This has been fixed in the apps for a while now. There's no highlighting on mobile web because that's not a feature anywhere on the network. Here's the feature request on MSE.

Look at the beautiful red color of 12pt in the iPhone app. We're doing something!

The problem with the problem with the mobile apps is that the web has a concept of site level languages for syntax highlighting but hasn't exposed that to the apps. There are so many nuanced rules for sites it's overwhelming. Since there are only four sites that do this right now, I'm hardcoding it into the app and it will be in an upcoming release (not the next one but the one after).

A screenshot of the app with same post from the question with proper highlighting.

As far as mobile web goes, it looks like syntax highlighting is occurring, just none of the styling is coming through. I've pinged the design team about that.

  • How often are the apps updated? Does it differ between Apple and other providers?
    – Werner Mod
    Apr 5, 2015 at 0:14
  • 1
    @Werner The iOS app has been getting updates about every 2 months. Android is probably similar. An update is going to the app store right now (without this fix) so I anticipate the next release probably mid May. Apr 8, 2015 at 22:40
  • 1
    Any progress on pinging the people who might know what's going on or fix this?
    – Werner Mod
    Nov 24, 2015 at 1:13

You must log in to answer this question.

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