README.md in wicked_pdf-1.0.1 vs README.md in wicked_pdf-1.0.2
- old
+ new
@@ -33,10 +33,12 @@
gem 'wkhtmltopdf-binary'
```
To your Gemfile and run `bundle install`.
+This wrapper may trail in versions, at the moment it wraps the 0.9 version of `wkhtmltopdf` while there is 0.12 version available. Some of the advanced options listed below is not available with 0.9.
+
If your wkhtmltopdf executable is not on your webserver's path, you can configure it in an initializer:
```ruby
WickedPdf.config = {
exe_path: '/usr/local/bin/wkhtmltopdf'
@@ -143,9 +145,10 @@
disable_internal_links: true,
disable_external_links: true,
print_media_type: true,
disable_smart_shrinking: true,
use_xserver: true,
+ background: false, # backround needs to be true to enable background colors to render
no_background: true,
viewport_size: 'TEXT', # available only with use_xserver or patched QT
extra: '', # directly inserted into the command to wkhtmltopdf
outline: { outline: true,
outline_depth: LEVEL },