[Skratchdot.]

domFormat is a simple javascript library to get DOM nodes as formatted/pretty strings.

You can find the source code here:

https://github.com/skratchdot/domFormat

And some examples here:

http://skratchdot.github.com/domFormat/examples/index-html5.html

Here are 2 bookmarklets:

– Show Source –

– Reload Page With Formatted Source –

Tagged with:


Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">