move the prettify code to the partial