Download jQuery.viewSource.zip (21.8 KB)
jQuery.viewSource is jQuery plugin to display HTML source of a page - or a section of a page. It is useful for pages that include HTML snippets or code examples.
Plugin supports optional code highlighting (using google-code-prettify). You can see jQuery.viewSource in action by clicking at "View source" link at the bottom of this page.
Download includes both minified and normal version of the script, along with a barebones example. jQuery.viewSource is licenced under Mozilla Public Licence 1.1