Update README
authorkangax <kangax@gmail.com>
Sun, 18 Aug 2013 10:00:00 +0000 (12:00 +0200)
committerkangax <kangax@gmail.com>
Sun, 18 Aug 2013 10:00:00 +0000 (12:00 +0200)
README.md

index 3bedf72..cfd9665 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,11 +1,17 @@
 [HTMLMinifier](http://kangax.github.com/html-minifier/) is a Javascript-based HTML minifier (duh), with lint-like capabilities.
 
+See [corresponding blog post](http://perfectionkills.com/experimenting-with-html-minifier/) for all the gory details of [how it works](http://perfectionkills.com/experimenting-with-html-minifier/#how_it_works), [description of each option](http://perfectionkills.com/experimenting-with-html-minifier/#options), [testing results](http://perfectionkills.com/experimenting-with-html-minifier/#field_testing) and [conclusions](http://perfectionkills.com/experimenting-with-html-minifier/#cost_and_benefits).
+
+[Test suite is available online](http://kangax.github.com/html-minifier/tests/index.html).
+
 Installing with [npm](https://github.com/isaacs/npm):
 
-<pre>
-npm install html-minifier
-</pre>
+    npm install html-minifier
 
-See [corresponding blog post](http://perfectionkills.com/experimenting-with-html-minifier/) for all the gory details of [how it works](http://perfectionkills.com/experimenting-with-html-minifier/#how_it_works), [description of each option](http://perfectionkills.com/experimenting-with-html-minifier/#options), [testing results](http://perfectionkills.com/experimenting-with-html-minifier/#field_testing) and [conclusions](http://perfectionkills.com/experimenting-with-html-minifier/#cost_and_benefits).
+Building distribution:
+
+    > cat src/htmlparser.js src/htmlminifier.js src/htmllint.js > dist/all.js
+
+Testing locally:
 
-[Test suite is available online](http://kangax.github.com/html-minifier/tests/index.html).
\ No newline at end of file
+    > npm test