GitbookIO/gitbook — pull request #464 by alexandreaquiles (2014-10-08 20:24:32+00:00)
Title: New hook to alter ebook generation options

Added a hook that allows users to change ebook generations options.

The hook is named `ebook:options` and can be used like the following:

``` js
module.exports = {
hooks: {
"ebook:options": function(options) {
options["--disable-font-rescaling"] = true;
return options;
}
}
};
```