Filed under: Design, Developer, Google, Open Source

Google Code Prettifier - pretty code is happy code


Need to display some code in the browser and want it to look like new-hotness rather than tired and flat? The Google Code Prettifier might just be the trick you've been waiting for.

A simple Javascript and CSS file, the Google Code Prettifier makes syntax highlighting in a web document super easy. It's pretty flexible too. According to the project page, the lexer involved will correctly highlight code written in C, Java, Python, Bash, SQL, HTML, XML, CSS, Javascript, and Makefiles.