Stack Exchange Network
Stack Exchange network consists of 181 Q&A communities including
Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
Meta Stack Exchange is a question and answer site for meta-discussion of the Stack Exchange family of Q&A websites. It only takes a minute to sign up.
Sign up to join this community
Anybody can ask a question
The best answers are voted up and rise to the top
10 years, 1 month ago
This question already has an answer here:
8 years ago.
I was checking out
this question on SO, and noticed that there is no syntax highlighting for the code snippet.
I realise that Fortran is a pretty obscure language, especially on SO, so I don't really expect it to get highlighting unless it gets added to Google Prettify.
May 4, 2013 at 17:57
If this is a feature request for adding a specific language to the current
set of syntax highlighting languages, then you should refer to the linked FAQ:
Stack Exchange does not have its own syntax highlighting engine. It uses Google Code Prettify. Therefore, any bugs and feature requests regarding syntax highlighting cannot be handled by Stack Exchange and should be directed to the team behind Google Code Prettify.
In the mean time (as
suggested in comment), use as a partial alternative.
Jan 26, 2015 at 17:47
13.5k 3 3 gold badges 36 36 silver badges 77 77 bronze badges
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our
Accept all cookies
Necessary cookies only
<!-- language: lang-fortran -->, but the language is not specified here. So I guess this is a default highlighting for some other languages.
<!-- language: lang-pascal -->does a fairly good job, e.g. here (well, apart from the strings...)
<!-- language: lang-fortran -->works now, due to moving to highlight.js. See highlightjs.org/static/demo