Prettify code and output html