Quantcast
Viewing all articles
Browse latest Browse all 180

Can I force syntax highlighting for a certain language?

I notice that stackoverflow automatically adds syntax highlighting to code blocks. I hate this. It always applies the wrong language's highlighting to the wrong code.

Example? The last question I've posted, of course. Because it always happens.

Is there a way to force the system to acknowledge a code block as a specific language and apply the proper highlighting? Like Github has done, as described here. If you ask me, that's how it's done! Typing one extra word is no effort at all and it looks a lot better.


Viewing all articles
Browse latest Browse all 180

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>