Skip to content

Commit 710e0ba

Browse files
committed
Update README options syntax
1 parent 53b3dc9 commit 710e0ba

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ pdf.create(htmlString, options, callback)
2626
```
2727

2828
## Options
29-
`script`: Absolute path to a custom phantomjs script, use the file in lib/scripts as example
30-
`timeout`: Timeout that will cancel phantomjs, milliseconds as Integer, default: 10000
31-
`filename`: The file path of the file that will be written. If you want to save the file permanently, you have to pass this option.
32-
`directory`: The directory path of the file that will be written. default: '/tmp'
29+
`script`: Absolute path to a custom phantomjs script, use the file in lib/scripts as example
30+
`timeout`: Timeout that will cancel phantomjs, milliseconds as Integer, default: 10000
31+
`filename`: The file path of the file that will be written. If you want to save the file permanently, you have to pass this option.
32+
`directory`: The directory path of the file that will be written. default: '/tmp'
3333

34-
The full options object gets converted to JSON and will get passed to the phantomjs script as third argument.
34+
The full options object gets converted to JSON and will get passed to the phantomjs script as third argument.
35+
There are more options concerning the paperSize, header & footer options inside the phantomjs script.
3536

36-
There are more options concerning the paperSize, header & footer options inside the phantomjs script.
37-
Documentation will follow soon.
37+
## documentations for more available options will follow soon :)

0 commit comments

Comments
 (0)