Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have Bugzilla installed on Ubuntu Server. Is that possible to add syntax highlight to Bugzilla comments (for C++ code)? Now code pasted in comments looks not well formatted and it makes harder to understand it.

share|improve this question
up vote 2 down vote accepted

No, unfortunately that's not yet implemented, though people have asked for it:

Last Comment Bug 358987 - Show attachments with colored syntax highlighting in certain views

An alternative might be to put a code highlighting tool into your browser. There are at least tow Firefox add-ons which do that:



They let you select code in a web page and display it with highlighting.

share|improve this answer
Firefox plugin is not an option. May be there are available onofficial syntax highlight patches? – Kirill V. Lyadvinsky Jun 30 '09 at 17:31

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.