# Syntax highlighting

I tried to create a post with Java syntax highlighting. Obviously code blocks are supported, but syntax highlight hints seem to be ingnored.

Is syntax-highlighting enabled on crypto? If not, should we enable syntax highlighting? Without the hints and no language tags, the default will still be that no highlighting is performed, so the user will have to explicitly hint the language. So I don't see any reason why this would promote language based questions.

The reason that I asked is because of this question on PGP fingerprints, where I provided demo Java code.

Note that it is very possible that I missed some detail when hinting the language using the <!-- language: lang-java --> and <!-- language-all: lang-java --> hints of course.

• I think this may be hindered by the same calculation that blocks MathJax from SO: Too little gain for too much extra load. – SEJPM Jan 22 '16 at 22:17
• @SEJPM Could be, yes. OTOH, if it isn't used too much it should not generate too much extra load, right? Can we ask or is this meta thread automatically followed by the SE maintainers? – Maarten Bodewes Jan 24 '16 at 11:20
• Relevant meta.SE thread. We probably could ask for syntax highlighting to be enabled, if we could show a significant number of posts that would benefit from it, just like we asked for MathJax support. I don't think there's any technical reason (other than page loading time) why we couldn't have both if we really truly wanted them, and could demonstrate a genuine benefit. – Ilmari Karonen Feb 7 '16 at 21:17
• And yes, I do believe SE staff monitor feature-requests on all site metas, so they should see this, and maybe hopefully comment on the feasibility of the idea. – Ilmari Karonen Feb 7 '16 at 21:18
• @IlmariKaronen SE devs will see this and classify it as “needs community input”, and won't touch it again. For things to move forward, we need to show that the community is in favor and cite enough examples to demonstrate the need. Once this is done, a moderator can ping SE staff to have the feature activated. – Gilles 'SO- stop being evil' Feb 21 '16 at 20:13