Use Prettify on any code blocks


/ Published in: JavaScript
Save to your folder(s)



Copy this code and paste it in your HTML
  1. // http://google-code-prettify.googlecode.com/svn/trunk/src/prettify.js
  2. $("code").addClass("prettyprint");
  3. prettyPrint();

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.