It looks like sample code blocks are no longer rendering correctly in the template or on API doc pages. See: API:Documentation template#Sample code and API:Tokens#Sample code for examples. There don't seem to be any recent changes to the wikitext, so my assumption is that this is a result of a recent MediaWiki deployment. Any ideas?
Topic on API talk:Documentation template/Flow
Appearance
Is this still a problem? I can't see any issues at the 2 example links, so my own assumption would be that something got fixed, somewhere!
Hooray! This seems resolved! Thanks for the tip, @Quiddity (WMF)!