Even when I specifically add a code language hint for python, code highlighting does not seem to trigger. See: https://ethereum.stackexchange.com/a/31010/1461
I added this, plus a newline between it and the code:
<!-- language: lang-py -->
That comment suggested starting a thread about it a few months ago, but I couldn't find one.