Updated Slide Options (markdown)

zeigerpuppy 2017-05-28 13:04:52 +10:00
parent 807e931031
commit 4d4cf3622d

@ -38,104 +38,109 @@ you can comment out options with a `#`
### Some other options
```
# Display controls in the bottom right corner
controls: true,
controls: true
# Display a presentation progress bar
progress: true,
progress: true
# Set default timing of 2 minutes per slide
defaultTiming: 120,
defaultTiming: 120
# Display the page number of the current slide
slideNumber: false,
slideNumber: false
# Push each slide change to the browser history
history: false,
history: false
# Enable keyboard shortcuts for navigation
keyboard: true,
keyboard: true
# Enable the slide overview mode
overview: true,
overview: true
# Vertical centering of slides
center: true,
center: true
# Enables touch navigation on devices with touch input
touch: true,
touch: true
# Loop the presentation
loop: false,
loop: false
# Change the presentation direction to be RTL
rtl: false,
rtl: false
# Randomizes the order of slides each time the presentation loads
shuffle: false,
shuffle: false
# Turns fragments on and off globally
fragments: true,
fragments: true
# Flags if the presentation is running in an embedded mode,
# i.e. contained within a limited portion of the screen
embedded: false,
embedded: false
# Flags if we should show a help overlay when the questionmark
# key is pressed
help: true,
help: true
# Flags if speaker notes should be visible to all viewers
showNotes: false,
showNotes: false
# Global override for autolaying embedded media (video/audio/iframe)
# - null: Media will only autoplay if data-autoplay is present
# - true: All media will autoplay, regardless of individual setting
# - false: No media will autoplay, regardless of individual setting
autoPlayMedia: null,
autoPlayMedia: null
# Number of milliseconds between automatically proceeding to the
# next slide, disabled when set to 0, this value can be overwritten
# by using a data-autoslide attribute on your slides
autoSlide: 0,
autoSlide: 0
# Stop auto-sliding after user input
autoSlideStoppable: true,
autoSlideStoppable: true
# Use this method for navigation when auto-sliding
autoSlideMethod: Reveal.navigateNext,
autoSlideMethod: Reveal.navigateNext
# Enable slide navigation via mouse wheel
mouseWheel: false,
mouseWheel: false
# Hides the address bar on mobile devices
hideAddressBar: true,
hideAddressBar: true
# Opens links in an iframe preview overlay
previewLinks: false,
previewLinks: false
# Transition style
transition: 'slide', // none/fade/slide/convex/concave/zoom
transition: 'slide'
# none/fade/slide/convex/concave/zoom
# Transition speed
transitionSpeed: 'default', // default/fast/slow
transitionSpeed: 'default'
# default/fast/slow
# Transition style for full page slide backgrounds
backgroundTransition: 'fade', // none/fade/slide/convex/concave/zoom
backgroundTransition: 'fade'
# none/fade/slide/convex/concave/zoom
# Number of slides away from the current that are visible
viewDistance: 3,
viewDistance: 3
# Parallax background image
parallaxBackgroundImage: '', // e.g. "'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg'"
parallaxBackgroundImage: ''
# e.g. "'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg'"
# Parallax background size
parallaxBackgroundSize: '', // CSS syntax, e.g. "2100px 900px"
parallaxBackgroundSize: ''
# CSS syntax, e.g. "2100px 900px"
# Number of pixels to move the parallax background per slide
# - Calculated automatically unless specified
# - Set to 0 to disable movement along an axis
parallaxBackgroundHorizontal: null,
parallaxBackgroundVertical: null,
parallaxBackgroundHorizontal: null
parallaxBackgroundVertical: null
# The display mode that will be used to show slides
display: 'block'