forked from nathantypanski/git-talk
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.js
89 lines (64 loc) · 2.67 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
Reveal.initialize({
// Display controls in the bottom right corner
controls: true,
// Display a presentation progress bar
progress: true,
// Display the page number of the current slide
slideNumber: true,
// Push each slide change to the browser history
history: false,
// Enable keyboard shortcuts for navigation
keyboard: true,
// Enable the slide overview mode
overview: true,
// Vertical centering of slides
center: false,
// Enables touch navigation on devices with touch input
touch: true,
// Loop the presentation
loop: false,
// Change the presentation direction to be RTL
rtl: false,
// Turns fragments on and off globally
fragments: true,
// Flags if the presentation is running in an embedded mode,
// i.e. contained within a limited portion of the screen
embedded: false,
// 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,
// Stop auto-sliding after user input
autoSlideStoppable: true,
// Enable slide navigation via mouse wheel
mouseWheel: false,
// Hides the address bar on mobile devices
hideAddressBar: true,
// Opens links in an iframe preview overlay
previewLinks: false,
// Transition style
transition: 'linear', // default/cube/page/concave/zoom/linear/fade/none
// Transition speed
transitionSpeed: 'fast', // default/fast/slow
// Transition style for full page slide backgrounds
backgroundTransition: 'default', // default/none/slide/concave/convex/zoom
// Number of slides away from the current that are visible
viewDistance: 3,
// Parallax background image
parallaxBackgroundImage: 'img/background.svg', // e.g. "'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg'"
// Parallax background size
parallaxBackgroundSize: '3200px', // CSS syntax, e.g. "2100px 900px"
theme: 'simple',
// Optional libraries used to extend on reveal.js
dependencies: [
{ src: 'lib/js/classList.js',
condition: function() { return !document.body.classList; } },
{ src: 'marked.js',
condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'markdown.js',
condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'highlight/highlight.js',
async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: 'notes/notes.js' }
]
});