I don't seem to see where it says that the blog engine in use supports syntax highlighting for code and the like, does the current configuration support syntax highlighting, and if so, how do I use it?
What is meta?
- Any Stack Exchange user can ask a question
- The community provides support, votes on ideas, and reports bugs
- Your voice helps shape the way Stack Exchange operates
Yes, code formatting is supported via a plugin, but it must be enabled per site, so if you try adding it and nothing happens, then you'll have to ask a community team member.
Everything after this line is copy-pasted as a courtesy, and to make lookups easy, and to make sure documentation doesn't evaporate:
Just wrap your code in these tags:
The language parameter controls how the code is syntax highlighted. The following languages are supported:
If the language parameter is not set, it will default to “text” (no syntax highlighting).
Code in between the source code tags will automatically be encoded for display, you don’t need to worry about HTML entities or anything.
That's enough of quoting. This was installed some time ago, and is added to Meta.SE as a courtesy to those looking from across the network. Here's the first "in the wild" spotting of this being installed/enabled: Blog and syntax coloration found by random