I tried to highlight some code in this answer, by inserting an explicit
<!-- language-all: python -->
at the top of the file.
I also tried
<!-- language: python --> just before the block of code, and have replaced
py (as the latter is mentioned on meta-stackexchange) in both.
None of these seem to trigger highlighting of the python code. I am doing something wrong, but what is it?