-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
371 lines (299 loc) · 13.2 KB
/
index.html
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>Bow - Functional Programming in Swift</title>
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/reveal.css">
<link rel="stylesheet" href="css/theme/bow.css" id="theme">
<!-- Theme used for syntax highlighting of code -->
<link rel="stylesheet" href="lib/css/tomorrow-night.css" id="hljs-theme">
<!-- Printing and PDF exports -->
<script>
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
</script>
</head>
<body>
<div class="reveal">
<header>
<div>HEADER - LEFT</div>
<div>HEADER - CENTER</div>
<div>HEADER - RIGHT</div>
</header>
<div class="slides">
<section data-background="img/bow-card.png" data-background-opacity="1"></section>
<section>
Slide 1: Theme's default background
</section>
<section data-background-color="#f64835">
Slide 2: Solid colour background
</section>
<section data-background="rgba(255,255,255,0.40)">
Slide 3: Blended colour background
</section>
<section data-markdown="slides/slides.md" data-background="rgba(49,45,44,0.25)"></section>
</div>
<footer>
FOOTER
</footer>
</div>
<script src="js/reveal.js"></script>
<script>
// More info about config & dependencies:
// - https://github.com/hakimel/reveal.js#configuration
// - https://github.com/hakimel/reveal.js#dependencies
Reveal.initialize({
// Display presentation control arrows
controls: true,
// Help the user learn the controls by providing hints, for example by
// bouncing the down arrow when they first encounter a vertical slide
controlsTutorial: true,
// Determines where controls appear, "edges" or "bottom-right"
controlsLayout: 'bottom-right',
// Visibility rule for backwards navigation arrows; "faded", "hidden"
// or "visible"
controlsBackArrows: 'faded',
// Display a presentation progress bar
progress: true,
// Display the page number of the current slide
slideNumber: false,
// Add the current slide number to the URL hash so that reloading the
// page/copying the URL will return you to the same slide
hash: false,
// Push each slide change to the browser history. Implies `hash: true`
history: true,
// Enable keyboard shortcuts for navigation
keyboard: true,
// Enable the slide overview mode
overview: true,
// Vertical centering of slides
center: true,
// Enables touch navigation on devices with touch input
touch: true,
// Loop the presentation
loop: false,
// Change the presentation direction to be RTL
rtl: false,
// See https://github.com/hakimel/reveal.js/#navigation-mode
navigationMode: 'default',
// Randomizes the order of slides each time the presentation loads
shuffle: false,
// Turns fragments on and off globally
fragments: true,
// Flags whether to include the current fragment in the URL,
// so that reloading brings you to the same fragment position
fragmentInURL: false,
// Flags if the presentation is running in an embedded mode,
// i.e. contained within a limited portion of the screen
embedded: false,
// Flags if we should show a help overlay when the questionmark
// key is pressed
help: true,
// Flags if speaker notes should be visible to all viewers
showNotes: false,
// Global override for autoplaying 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,
// Global override for preloading lazy-loaded iframes
// - null: Iframes with data-src AND data-preload will be loaded when within
// the viewDistance, iframes with only data-src will be loaded when visible
// - true: All iframes with data-src will be loaded when within the viewDistance
// - false: All iframes with data-src will be loaded only when visible
preloadIframes: 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,
// Stop auto-sliding after user input
autoSlideStoppable: true,
// Use this method for navigation when auto-sliding
autoSlideMethod: Reveal.navigateNext,
// Specify the average time in seconds that you think you will spend
// presenting each slide. This is used to show a pacing timer in the
// speaker view
defaultTiming: 120,
// Enable slide navigation via mouse wheel
mouseWheel: false,
// Hide cursor if inactive
hideInactiveCursor: true,
// Time before the cursor is hidden (in ms)
hideCursorTime: 2000,
// Hides the address bar on mobile devices
hideAddressBar: true,
// Opens links in an iframe preview overlay
// Add `data-preview-link` and `data-preview-link="false"` to customise each link
// individually
previewLinks: false,
// Transition style
transition: 'slide', // none/fade/slide/convex/concave/zoom
// Transition speed
transitionSpeed: 'default', // default/fast/slow
// Transition style for full page slide backgrounds
backgroundTransition: 'fade', // none/fade/slide/convex/concave/zoom
// Number of slides away from the current that are visible
viewDistance: 3,
// Parallax background image
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"
// 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,
// The display mode that will be used to show slides
display: 'block',
menu: {
// Specifies which side of the presentation the menu will
// be shown. Use 'left' or 'right'.
side: 'left',
// Specifies the width of the menu.
// Can be one of the following:
// 'normal', 'wide', 'third', 'half', 'full', or
// any valid css length value
width: 'normal',
// Add slide numbers to the titles in the slide list.
// Use 'true' or format string (same as reveal.js slide numbers)
numbers: true,
// Specifies which slide elements will be used for generating
// the slide titles in the menu. The default selects the first
// heading element found in the slide, but you can specify any
// valid css selector and the text from the first matching
// element will be used.
// Note: that a section data-menu-title attribute or an element
// with a menu-title class will take precedence over this option
titleSelector: 'h1, h2, h3, h4, h5, h6',
// If slides do not have a matching title, attempt to use the
// start of the text content as the title instead
useTextContentForMissingTitles: true,
// Hide slides from the menu that do not have a title.
// Set to 'true' to only list slides with titles.
hideMissingTitles: false,
// Adds markers to the slide titles to indicate the
// progress through the presentation. Set to 'false'
// to hide the markers.
markers: true,
// Specify custom panels to be included in the menu, by
// providing an array of objects with 'title', 'icon'
// properties, and either a 'src' or 'content' property.
custom: false,
// Specifies the themes that will be available in the themes
// menu panel. Set to 'true' to show the themes menu panel
// with the default themes list. Alternatively, provide an
// array to specify the themes to make available in the
// themes menu panel, for example...
// [
// { name: 'Black', theme: 'css/theme/black.css' },
// { name: 'White', theme: 'css/theme/white.css' },
// { name: 'League', theme: 'css/theme/league.css' }
// ]
themes: [
{ name: 'Beige', theme: 'css/theme/beige.css' },
{ name: 'Black', theme: 'css/theme/black.css' },
{ name: 'Blood', theme: 'css/theme/blood.css' },
{ name: 'Bow', theme: 'css/theme/bow.css' },
{ name: 'League', theme: 'css/theme/league.css' },
{ name: 'Moon', theme: 'css/theme/moon.css' },
{ name: 'Nef', theme: 'css/theme/nef.css' },
{ name: 'Night', theme: 'css/theme/night.css' },
{ name: 'Serif', theme: 'css/theme/serif.css' },
{ name: 'Simple', theme: 'css/theme/simple.css' },
{ name: 'Sky', theme: 'css/theme/sky.css' },
{ name: 'Solarized', theme: 'css/theme/solarized.css' },
{ name: 'White', theme: 'css/theme/white.css' }
],
// Specifies the path to the default theme files. If your
// presentation uses a different path to the standard reveal
// layout then you need to provide this option, but only
// when 'themes' is set to 'true'. If you provide your own
// list of themes or 'themes' is set to 'false' the
// 'themesPath' option is ignored.
themesPath: 'css/theme/',
// Specifies if the transitions menu panel will be shown.
// Set to 'true' to show the transitions menu panel with
// the default transitions list. Alternatively, provide an
// array to specify the transitions to make available in
// the transitions panel, for example...
// ['None', 'Fade', 'Slide']
transitions: true,
// Adds a menu button to the slides to open the menu panel.
// Set to 'false' to hide the button.
openButton: true,
// If 'true' allows the slide number in the presentation to
// open the menu panel. The reveal.js slideNumber option must
// be displayed for this to take effect
openSlideNumber: false,
// If true allows the user to open and navigate the menu using
// the keyboard. Standard keyboard interaction with reveal
// will be disabled while the menu is open.
keyboard: true,
// Normally the menu will close on user actions such as
// selecting a menu item, or clicking the presentation area.
// If 'true', the sticky option will leave the menu open
// until it is explicitly closed, that is, using the close
// button or pressing the ESC or m key (when the keyboard
// interaction option is enabled).
sticky: false,
// If 'true' standard menu items will be automatically opened
// when navigating using the keyboard. Note: this only takes
// effect when both the 'keyboard' and 'sticky' options are enabled.
autoOpen: true,
// If 'true' the menu will not be created until it is explicitly
// requested by calling RevealMenu.init(). Note this will delay
// the creation of all menu panels, including custom panels, and
// the menu button.
delayInit: false,
// If 'true' the menu will be shown when the menu is initialised.
openOnInit: false,
// By default the menu will load it's own font-awesome library
// icons. If your presentation needs to load a different
// font-awesome library the 'loadIcons' option can be set to false
// and the menu will not attempt to load the font-awesome library.
loadIcons: true
},
toolbar: {
// Specifies where the toolbar will be shown: 'top' or 'bottom'
position: 'bottom',
// Add button to toggle fullscreen mode for the presentation
fullscreen: true,
// Add button to toggle the overview mode on and off
overview: false,
// Add button to pause (hide) the presentation display
pause: true,
// Add button to show the speaker notes
notes: true,
// Add button to show the help overlay
help: true,
// If true, the reveal.js-menu will be moved into the toolbar.
// Set to false to leave the menu on its own.
captureMenu: true,
// If true, the playback control will be moved into the toolbar.
// This is only relevant if the presentation is configured to autoSlide.
// Set to false to leave the menu on its own.
capturePlaybackControl: true,
// By default the menu will load it's own font-awesome library
// icons. If your presentation needs to load a different
// font-awesome library the 'loadIcons' option can be set to false
// and the menu will not attempt to load the font-awesome library.
loadIcons: true
},
dependencies: [
{ src: 'plugin/markdown/marked.js' },
{ src: 'plugin/markdown/markdown.js' },
{ src: 'plugin/notes/notes.js', async: true },
{ src: 'plugin/menu/menu.js' },
{ src: 'plugin/toolbar/toolbar.js' },
{ src: 'plugin/highlight/highlight.js', async: true },
{ src: 'plugin/headfoot/headfoot.js' }
]
});
</script>
</body>
</html>