Advanced Concepts
Build & Deployment
There are a variety of ways to host your Spectacle presentation.
If you are integrating this lib yourself, take your build and follow the linked instructions from any of (but not limited to) the following providers: Netlify, Vercel, or Surge.
If using
spectacle-cli
(eitherspectacle --action build
orspectacle-boilerplate
withyarn clean && yarn build
) your output isdist/
and upload that directory to any of the above static hosting providers.
Keyboard Controls
Key Combination | Function |
---|---|
Right Arrow | Next Slide |
Left Arrow | Previous Slide |
Alt/Option + O | Toggle Overview Mode |
Alt/Option + P | Toggle Presenter Mode |
Alt/Option + F | Toggle Fullscreen Mode |
Query Parameters
A handful of query parameters are supported within your Spectacle presentation.
Append your URL with one of the following parameters, like so: &<parameter>=true
.
To combine parameters, use multiple &
to separate the parameters, e.g.: &exportMode=true&printMode=true
Parameter | Description of Use |
---|---|
exportMode | For exporting your presentation as a PDF. Add it to your project URL and "Save to PDF" directly from the browser |
printMode | Turns your slideshow into a printer-friendly, black & white version. Meant for use concurrently with ?exportMode e.g. ?exportMode=true&printMode=true |
presenterMode | Displays a Presenter Mode for ease of presentation. For more info on this mode, please see Presenting in our Basic Concepts doc |