We use Google Prettify
https://github.com/google/code-prettify
with an extension to hint at certain supported languages based on the question tags:
Changes to syntax highlightingChanges to syntax highlighting
what language, that Google Prettify supports, can we use for f# then?
(and note that diamond mods can change this setting on the tag info page..)