#
Pretty Diff - Samples

Color Scheme

## Try these samples to get a feel for how Pretty Diff works.

1. Diff a minified JavaScript source from Pretty Diff to a duplicate but unminified code source.

   Raw code used for this example:

   - http://prettydiff.com/prettydiff.js
   - http://prettydiff.com/prettydiff-min.js

2. Diff complete Node.js v0.6.15 documentation to v0.6.13 documentation. Warning, big execution!!

   Raw code used for this example:

   - http://nodejs.org/docs/v0.6.15/api/all.html
   - http://nodejs.org/docs/v0.6.13/api/all.html

3. Diff a JavaScript source from jQuery to obfuscated code. Demonstrates why I dislike obfuscation. Warning, big execution!!

   Raw code used for this example:

   - http://code.jquery.com/jquery-1.7.2.js
   - http://code.jquery.com/jquery-1.7.2.min.js

4. Diff a minified HTML sample to a similar different minified HTML source.

   Raw code used for this example:

   - http://prettydiff.com/
   - http://prettydiff.com/prettydiff.com.xhtml

5. Beautify (pretty-print) a large JavaScript code sample.

   Raw code used for this example:

   - http://prettydiff.com/unit_tests/beautification_javascript_obfuscated_adobe.txt

6. Beautify (pretty-print) a large JavaScript code sample with some auto-correction for missing or sloppy syntax.

   Raw code used for this example:

   - http://prettydiff.com/unit_tests/beautification_javascript_obfuscated_tvly.txt

7. Scope analysis of a deeply nested JavaScript code sample.

   Raw code used for this example:

   - http://prettydiff.com/lib/markup_beauty.js

8. Beautify (pretty-print) the HTML of the Stackoverflow.com homepage as XML.

   Raw code used for this example:

   - http://stackoverflow.com/

9. Beautify (pretty-print) the HTML of the W3Schools JavaScript RegExp reference as HTML.

   Raw code used for this example:

   - http://w3schools.com/jsref/jsref_obj_regexp.asp

10. Beautify (pretty-print) the HTML of the full Node.js documentation.

    Raw code used for this example:

    - http://nodejs.org/docs/v0.6.15/api/all.html

11. Beautify (pretty-print) React JSX format.

    Raw code used for this example:

    - http://prettydiff.com/unit_tests/beautification_javascript_jsx.txt

12. Minify the HTML of the W3Schools JavaScript RegExp reference as HTML.

    Raw code used for this example:

    - http://w3schools.com/jsref/jsref_obj_regexp.asp

13. Minify a large XML Schema with verbose annotations.

    Raw code used for this example:

    - http://mailmarkup.org/hcl/hcl1_0-documentation.xsd

14. Minify the HTML of the full Node.js documentation.

    Raw code used for this example:

    - http://nodejs.org/docs/v0.6.15/api/all.html