It's not really that lovely.
lang-fortran
doesn't exist, so it falls back to the "default" syntax highlighting, which is what you were seeing. You're now seeing exactly that same thing when I set it to lang-default
. What you read about Fortran not being supported by Stack Overflow's syntax highlighting engine is correct. Although highlight.js supports it, Stack Overflow does not import it, so it doesn't work here.
I can set the syntax highlighting hint for the fortran tag to "default", which will create the same effect. But, honestly… The default best-guess syntax highlighting is pretty lame. I guess it at least gives the code some splotches of color, which is kinda nice, but it doesn't actually understand the syntax of the code, and so the syntax highlighting is not really very useful. I consider it to be more distracting than anything.
I'll let the community weigh in on whether they think this is a good idea.