Update README.md
This commit is contained in:
parent
7dd749efb8
commit
b8aad1b7d8
1 changed files with 4 additions and 1 deletions
|
@ -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`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue