Syntax highlighting is supported on a number of Stack Exchange sites including Ask Ubuntu, but for it to work, there has to be some way to know
what language the code is in. For example, Python code would be highlighted according to different rules than bash script code. On Ask Ubuntu, certain tags (like
bash) cause formatted code in posts to get syntax highlighting for certain languages (for the
bash tag,
bash
).