Using Prism syntax highlighting (triggered by the code html element), could give a very good code display.
My two cents.