Merge pull request #5 from kud/patch-1

Update README.md
This commit is contained in:
dhar 2013-06-23 10:51:59 -07:00
commit d783bdedb9

View file

@ -10,12 +10,15 @@ Convertion to PDF takes care of `@media print` CSS rules and preserves links to
Download and install wkhtmltopdf from the [project page][wkhtmltopdf_dl]. Download and install wkhtmltopdf from the [project page][wkhtmltopdf_dl].
Make sure `wkhtmltopdf` is accessible from your `PATH` (Try `wkhtmltopdf -V` in your Terminal). Make sure `wkhtmltopdf` is accessible from your `PATH` (Try `wkhtmltopdf -V` in your Terminal).
I'm on Mas OS X, so I created the following symlink to my `/usr/local/bin/` folder: I'm on Mac OS X, so I created the following symlink to my `/usr/local/bin/` folder:
``` ```
ln -s /usr/local/bin/wkhtmltopdf.app/Contents/MacOS/wkhtmltopdf /usr/local/bin/wkhtmltopdf ln -s /usr/local/bin/wkhtmltopdf.app/Contents/MacOS/wkhtmltopdf /usr/local/bin/wkhtmltopdf
``` ```
You can also install it via homebrew: `$ brew install wkhtmltopdf`.
### Use it with grunt ### Use it with grunt
Install this grunt plugin next to your project's [grunt.js gruntfile][getting_started] with: `npm install grunt-wkhtmltopdf` Install this grunt plugin next to your project's [grunt.js gruntfile][getting_started] with: `npm install grunt-wkhtmltopdf`