Activates CLI string styling with Chalk except on Windows OS.
Adds the libs directory to the require paths for seamless referencing
of require libraries.
Uses the new 'mode' option from the PhantomJS render API so that
screenshots get captured based on the viewport size definition and not the
content size. Indeed, some HTML presentation frameworks use the position
and transform CSS properties that leads to having the visible content
larger than the viewport.
Increases the delay for the resize event to complete.
Changes the screenshots-scale in favor of the screenshots-size option
which is more flexible.
Promise-based viewportSize setting to support frameworks that rely on the
onresize event.
Removes the gif choice for image format as it's not working.
Documents the --screenshots option.
Fixes#9.
Adds the --screenshots, --screenshots-directory, --screenshots-scale and
--screenshots-format options.
If the --screenshots flag option is set, each slide is exported as an
image, whose format is --screenshots-format, written in the
--screenshots-directory, and this for each --screenshots-scale.
Changes the viewport size option to follow the <width>x<height> notation.
The generic plugin emulates the end-user interaction by pressing the
specified key [--keycode] and iterating over the presentation as long as
any change to the DOM is detected by observing mutation events to the body
element and its subtree.
To support the generic plugin feature, the following enhancements are
introduced:
- Move to promises based navigation scheduling
- Build CLI commands directly from available plugins
- Enable per plugin CLI help and options
- Enable by-command overriding of the selected plugin