As a SysAdmin, I too would have grave concern over loading that block of JS for everybody, particularly given how few times it would be used compared to total page loads. Might be a different situation if the PrismJS were added only to a specific sub-account's theme, with the CS classes in that sub-account, but that doesn't sound like the situation in this case.
My faculty (at least, the ones who've discussed the matter with me) tend to either link to external web pages with code blocks highlighted, link to files formatted the way they want, or in one case create the formatted code blocks externally and integrate them into Pages using iframes.
Probably not the answer you're hoping for, but that's what we have been doing.
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.