diff --git a/readme.md b/readme.md index f70357c..6497c6a 100644 --- a/readme.md +++ b/readme.md @@ -45,3 +45,15 @@ On OS X you can use `pbpaste` and `pbcopy` to stream your clipboard in and out o Now when you paste your clipboard into an editor you will get nice, pretty printed HTML: ![After pretty printing](https://github.com/maxogden/commonjs-html-prettyprinter/raw/master/img/after.png) + +## Building + +To rebuild the html module to use the latest version of [js-beautifier], see the following instructions: + +- clone this repo: `git clone git://github.com/maxogden/commonjs-html-prettyprinter.git` +- install dev dependencies: `npm install` +- run the build: `npm run-script build` + +At this point, the `lib/html.js` file should have been updated with the latest copy of the source from [js-beautifier] + +[js-beautifier]: https://github.com/einars/js-beautify