This is a simple CLI tool that uses headless Chrome to export a PDF version of Spectacle presentations.
npm install -g spectacle-renderer
spectacle-renderer [options]
Option | Type | Description |
---|---|---|
-u --url |
String |
The URL spectacle is running at (default: http://localhost:3000) |
-o --output |
String |
The output filename (default: presentation.pdf) |
-p --print |
Boolean |
Enable print mode (black/white) (defaut: false) |
-d --delay |
Boolean |
Delay time to let page render (default: 2000) |
-c --chromium |
String |
Path to Chromium download |
Archived: This project is no longer maintained by Formidable. We are no longer responding to issues or pull requests unless they relate to security concerns. We encourage interested developers to fork this project and make it their own!