slide_hero 0.0.8 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/.ruby-version +1 -1
  3. data/README.md +1 -1
  4. data/lib/slide_hero/version.rb +1 -1
  5. data/lib/slide_hero/views/layout.html.erb +2 -2
  6. data/vendor/reveal.js/.gitignore +3 -1
  7. data/vendor/reveal.js/.travis.yml +1 -1
  8. data/vendor/reveal.js/CONTRIBUTING.md +19 -0
  9. data/vendor/reveal.js/Gruntfile.js +58 -21
  10. data/vendor/reveal.js/LICENSE +1 -1
  11. data/vendor/reveal.js/README.md +154 -74
  12. data/vendor/reveal.js/css/print/paper.css +193 -167
  13. data/vendor/reveal.js/css/print/pdf.css +20 -53
  14. data/vendor/reveal.js/css/reveal.css +912 -1651
  15. data/vendor/reveal.js/css/reveal.scss +1316 -0
  16. data/vendor/reveal.js/css/theme/README.md +1 -1
  17. data/vendor/reveal.js/css/theme/beige.css +177 -60
  18. data/vendor/reveal.js/css/theme/black.css +261 -0
  19. data/vendor/reveal.js/css/theme/blood.css +191 -75
  20. data/vendor/reveal.js/css/theme/league.css +267 -0
  21. data/vendor/reveal.js/css/theme/moon.css +168 -51
  22. data/vendor/reveal.js/css/theme/night.css +165 -42
  23. data/vendor/reveal.js/css/theme/serif.css +181 -58
  24. data/vendor/reveal.js/css/theme/simple.css +173 -50
  25. data/vendor/reveal.js/css/theme/sky.css +170 -47
  26. data/vendor/reveal.js/css/theme/solarized.css +168 -51
  27. data/vendor/reveal.js/css/theme/source/beige.scss +1 -12
  28. data/vendor/reveal.js/css/theme/source/black.scss +49 -0
  29. data/vendor/reveal.js/css/theme/source/blood.scss +4 -4
  30. data/vendor/reveal.js/css/theme/source/{default.scss → league.scss} +5 -13
  31. data/vendor/reveal.js/css/theme/source/moon.scss +1 -12
  32. data/vendor/reveal.js/css/theme/source/serif.scss +1 -1
  33. data/vendor/reveal.js/css/theme/source/sky.scss +1 -1
  34. data/vendor/reveal.js/css/theme/source/solarized.scss +1 -12
  35. data/vendor/reveal.js/css/theme/source/white.scss +49 -0
  36. data/vendor/reveal.js/css/theme/template/settings.scss +13 -4
  37. data/vendor/reveal.js/css/theme/template/theme.scss +182 -13
  38. data/vendor/reveal.js/css/theme/white.css +261 -0
  39. data/vendor/reveal.js/index.html +198 -178
  40. data/vendor/reveal.js/js/reveal.js +1286 -392
  41. data/vendor/reveal.js/lib/css/zenburn.css +74 -71
  42. data/vendor/reveal.js/lib/font/{league_gothic_license → league-gothic/LICENSE} +0 -0
  43. data/vendor/reveal.js/lib/font/league-gothic/league-gothic.css +10 -0
  44. data/vendor/reveal.js/lib/font/league-gothic/league-gothic.eot +0 -0
  45. data/vendor/reveal.js/lib/font/league-gothic/league-gothic.ttf +0 -0
  46. data/vendor/reveal.js/lib/font/league-gothic/league-gothic.woff +0 -0
  47. data/vendor/reveal.js/lib/font/source-sans-pro/LICENSE +45 -0
  48. data/vendor/reveal.js/lib/font/source-sans-pro/source-sans-pro-italic.eot +0 -0
  49. data/vendor/reveal.js/lib/font/source-sans-pro/source-sans-pro-italic.ttf +0 -0
  50. data/vendor/reveal.js/lib/font/source-sans-pro/source-sans-pro-italic.woff +0 -0
  51. data/vendor/reveal.js/lib/font/source-sans-pro/source-sans-pro-regular.eot +0 -0
  52. data/vendor/reveal.js/lib/font/source-sans-pro/source-sans-pro-regular.ttf +0 -0
  53. data/vendor/reveal.js/lib/font/source-sans-pro/source-sans-pro-regular.woff +0 -0
  54. data/vendor/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibold.eot +0 -0
  55. data/vendor/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibold.ttf +0 -0
  56. data/vendor/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibold.woff +0 -0
  57. data/vendor/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibolditalic.eot +0 -0
  58. data/vendor/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibolditalic.ttf +0 -0
  59. data/vendor/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibolditalic.woff +0 -0
  60. data/vendor/reveal.js/lib/font/source-sans-pro/source-sans-pro.css +39 -0
  61. data/vendor/reveal.js/package.json +9 -7
  62. data/vendor/reveal.js/plugin/highlight/highlight.js +2 -4
  63. data/vendor/reveal.js/plugin/leap/leap.js +4 -2
  64. data/vendor/reveal.js/plugin/markdown/example.html +2 -2
  65. data/vendor/reveal.js/plugin/markdown/markdown.js +8 -7
  66. data/vendor/reveal.js/plugin/notes/notes.html +321 -182
  67. data/vendor/reveal.js/plugin/notes/notes.js +89 -45
  68. data/vendor/reveal.js/plugin/notes-server/client.js +49 -46
  69. data/vendor/reveal.js/plugin/notes-server/index.js +28 -21
  70. data/vendor/reveal.js/plugin/notes-server/notes.html +351 -97
  71. data/vendor/reveal.js/plugin/print-pdf/print-pdf.js +24 -20
  72. data/vendor/reveal.js/plugin/zoom-js/zoom.js +77 -57
  73. data/vendor/reveal.js/test/examples/barebones.html +2 -2
  74. data/vendor/reveal.js/test/examples/embedded-media.html +2 -2
  75. data/vendor/reveal.js/test/examples/math.html +2 -2
  76. data/vendor/reveal.js/test/examples/slide-backgrounds.html +29 -7
  77. data/vendor/reveal.js/test/test-markdown-element-attributes.html +6 -6
  78. data/vendor/reveal.js/test/test-markdown-slide-attributes.html +7 -7
  79. data/vendor/reveal.js/test/test-markdown.html +4 -4
  80. data/vendor/reveal.js/test/test-pdf.html +83 -0
  81. data/vendor/reveal.js/test/test-pdf.js +15 -0
  82. data/vendor/reveal.js/test/test.html +5 -4
  83. data/vendor/reveal.js/test/test.js +143 -9
  84. metadata +31 -13
  85. data/vendor/reveal.js/css/reveal.min.css +0 -7
  86. data/vendor/reveal.js/css/theme/default.css +0 -148
  87. data/vendor/reveal.js/js/reveal.min.js +0 -9
  88. data/vendor/reveal.js/lib/font/league_gothic-webfont.eot +0 -0
  89. data/vendor/reveal.js/lib/font/league_gothic-webfont.svg +0 -230
  90. data/vendor/reveal.js/lib/font/league_gothic-webfont.ttf +0 -0
  91. data/vendor/reveal.js/lib/font/league_gothic-webfont.woff +0 -0
  92. data/vendor/reveal.js/plugin/postmessage/example.html +0 -39
  93. data/vendor/reveal.js/plugin/postmessage/postmessage.js +0 -42
@@ -12,17 +12,21 @@
12
12
  <meta name="apple-mobile-web-app-capable" content="yes" />
13
13
  <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
14
14
 
15
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
15
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
16
16
 
17
- <link rel="stylesheet" href="css/reveal.min.css">
18
- <link rel="stylesheet" href="css/theme/default.css" id="theme">
17
+ <link rel="stylesheet" href="css/reveal.css">
18
+ <link rel="stylesheet" href="css/theme/black.css" id="theme">
19
19
 
20
- <!-- For syntax highlighting -->
20
+ <!-- Code syntax highlighting -->
21
21
  <link rel="stylesheet" href="lib/css/zenburn.css">
22
22
 
23
- <!-- If the query includes 'print-pdf', use the PDF print sheet -->
23
+ <!-- Printing and PDF exports -->
24
24
  <script>
25
- document.write( '<link rel="stylesheet" href="css/print/' + ( window.location.search.match( /print-pdf/gi ) ? 'pdf' : 'paper' ) + '.css" type="text/css" media="print">' );
25
+ var link = document.createElement( 'link' );
26
+ link.rel = 'stylesheet';
27
+ link.type = 'text/css';
28
+ link.href = window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css';
29
+ document.getElementsByTagName( 'head' )[0].appendChild( link );
26
30
  </script>
27
31
 
28
32
  <!--[if lt IE 9]>
@@ -38,52 +42,40 @@
38
42
  <div class="slides">
39
43
  <section>
40
44
  <h1>Reveal.js</h1>
41
- <h3>HTML Presentations Made Easy</h3>
45
+ <h3>The HTML Presentation Framework</h3>
42
46
  <p>
43
47
  <small>Created by <a href="http://hakim.se">Hakim El Hattab</a> / <a href="http://twitter.com/hakimel">@hakimel</a></small>
44
48
  </p>
45
49
  </section>
46
50
 
47
51
  <section>
48
- <h2>Heads Up</h2>
52
+ <h2>Hello There</h2>
49
53
  <p>
50
- reveal.js is a framework for easily creating beautiful presentations using HTML. You'll need a browser with
51
- support for CSS 3D transforms to see it in its full glory.
54
+ reveal.js enables you to create beautiful interactive slide decks using HTML. This presentation will show you examples of what it can do.
52
55
  </p>
53
-
54
- <aside class="notes">
55
- Oh hey, these are some notes. They'll be hidden in your presentation, but you can see them if you open the speaker notes window (hit 's' on your keyboard).
56
- </aside>
57
56
  </section>
58
57
 
59
58
  <!-- Example of nested vertical slides -->
60
59
  <section>
61
60
  <section>
62
61
  <h2>Vertical Slides</h2>
63
- <p>
64
- Slides can be nested inside of other slides,
65
- try pressing <a href="#" class="navigate-down">down</a>.
66
- </p>
67
- <a href="#" class="image navigate-down">
68
- <img width="178" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Down arrow">
62
+ <p>Slides can be nested inside of each other.</p>
63
+ <p>Use the <em>Space</em> key to navigate through all slides.</p>
64
+ <br>
65
+ <a href="#" class="navigate-down">
66
+ <img width="178" height="238" data-src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Down arrow">
69
67
  </a>
70
68
  </section>
71
69
  <section>
72
70
  <h2>Basement Level 1</h2>
73
- <p>Press down or up to navigate.</p>
71
+ <p>Nested slides are useful for adding additional detail underneath a high level horizontal slide.</p>
74
72
  </section>
75
73
  <section>
76
74
  <h2>Basement Level 2</h2>
77
- <p>Cornify</p>
78
- <a class="test" href="http://cornify.com">
79
- <img width="280" height="326" src="https://s3.amazonaws.com/hakim-static/reveal-js/cornify.gif" alt="Unicorn">
80
- </a>
81
- </section>
82
- <section>
83
- <h2>Basement Level 3</h2>
84
75
  <p>That's it, time to go back up.</p>
85
- <a href="#/2" class="image">
86
- <img width="178" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Up arrow" style="-webkit-transform: rotate(180deg);">
76
+ <br>
77
+ <a href="#/2">
78
+ <img width="178" height="238" data-src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Up arrow" style="-webkit-transform: rotate(180deg);">
87
79
  </a>
88
80
  </section>
89
81
  </section>
@@ -91,7 +83,7 @@
91
83
  <section>
92
84
  <h2>Slides</h2>
93
85
  <p>
94
- Not a coder? No problem. There's a fully-featured visual editor for authoring these, try it out at <a href="http://slid.es" target="_blank">http://slid.es</a>.
86
+ Not a coder? Not a problem. There's a fully-featured visual editor for authoring these, try it out at <a href="http://slides.com" target="_blank">http://slides.com</a>.
95
87
  </p>
96
88
  </section>
97
89
 
@@ -106,148 +98,125 @@
106
98
  </section>
107
99
 
108
100
  <section>
109
- <h2>Works in Mobile Safari</h2>
101
+ <h2>Touch Optimized</h2>
110
102
  <p>
111
- Try it out! You can swipe through the slides and pinch your way to the overview.
103
+ Presentations look great on touch devices, like mobile phones and tablets. Simply swipe through your slides.
112
104
  </p>
113
105
  </section>
114
106
 
115
- <section>
116
- <h2>Marvelous Unordered List</h2>
117
- <ul>
118
- <li>No order here</li>
119
- <li>Or here</li>
120
- <li>Or here</li>
121
- <li>Or here</li>
122
- </ul>
123
- </section>
124
-
125
- <section>
126
- <h2>Fantastic Ordered List</h2>
127
- <ol>
128
- <li>One is smaller than...</li>
129
- <li>Two is smaller than...</li>
130
- <li>Three!</li>
131
- </ol>
132
- </section>
133
-
134
107
  <section data-markdown>
135
108
  <script type="text/template">
136
109
  ## Markdown support
137
110
 
138
- For those of you who like that sort of thing. Instructions and a bit more info available [here](https://github.com/hakimel/reveal.js#markdown).
111
+ Write content using inline or external Markdown.
112
+ Instructions and more info available in the [readme](https://github.com/hakimel/reveal.js#markdown).
139
113
 
140
114
  ```
141
115
  <section data-markdown>
142
116
  ## Markdown support
143
117
 
144
- For those of you who like that sort of thing.
145
- Instructions and a bit more info available [here](https://github.com/hakimel/reveal.js#markdown).
118
+ Write content using inline or external Markdown.
119
+ Instructions and more info available in the [readme](https://github.com/hakimel/reveal.js#markdown).
146
120
  </section>
147
121
  ```
148
122
  </script>
149
123
  </section>
150
124
 
125
+ <section>
126
+ <section id="fragments">
127
+ <h2>Fragments</h2>
128
+ <p>Hit the next arrow...</p>
129
+ <p class="fragment">... to step through ...</p>
130
+ <p><span class="fragment">... a</span> <span class="fragment">fragmented</span> <span class="fragment">slide.</span></p>
131
+
132
+ <aside class="notes">
133
+ This slide has fragments which are also stepped through in the notes window.
134
+ </aside>
135
+ </section>
136
+ <section>
137
+ <h2>Fragment Styles</h2>
138
+ <p>There's different types of fragments, like:</p>
139
+ <p class="fragment grow">grow</p>
140
+ <p class="fragment shrink">shrink</p>
141
+ <p class="fragment roll-in">roll-in</p>
142
+ <p class="fragment fade-out">fade-out</p>
143
+ <p class="fragment current-visible">current-visible</p>
144
+ <p class="fragment highlight-red">highlight-red</p>
145
+ <p class="fragment highlight-blue">highlight-blue</p>
146
+ </section>
147
+ </section>
148
+
151
149
  <section id="transitions">
152
150
  <h2>Transition Styles</h2>
153
151
  <p>
154
152
  You can select from different transitions, like: <br>
155
- <a href="?transition=cube#/transitions">Cube</a> -
156
- <a href="?transition=page#/transitions">Page</a> -
157
- <a href="?transition=concave#/transitions">Concave</a> -
158
- <a href="?transition=zoom#/transitions">Zoom</a> -
159
- <a href="?transition=linear#/transitions">Linear</a> -
160
- <a href="?transition=fade#/transitions">Fade</a> -
161
153
  <a href="?transition=none#/transitions">None</a> -
162
- <a href="?#/transitions">Default</a>
154
+ <a href="?transition=fade#/transitions">Fade</a> -
155
+ <a href="?transition=slide#/transitions">Slide</a> -
156
+ <a href="?transition=convex#/transitions">Convex</a> -
157
+ <a href="?transition=concave#/transitions">Concave</a> -
158
+ <a href="?transition=zoom#/transitions">Zoom</a>
163
159
  </p>
164
160
  </section>
165
161
 
166
162
  <section id="themes">
167
163
  <h2>Themes</h2>
168
164
  <p>
169
- Reveal.js comes with a few themes built in: <br>
170
- <a href="?#/themes">Default</a> -
171
- <a href="?theme=sky#/themes">Sky</a> -
172
- <a href="?theme=beige#/themes">Beige</a> -
173
- <a href="?theme=simple#/themes">Simple</a> -
174
- <a href="?theme=serif#/themes">Serif</a> -
175
- <a href="?theme=night#/themes">Night</a> <br>
176
- <a href="?theme=moon#/themes">Moon</a> -
177
- <a href="?theme=solarized#/themes">Solarized</a>
178
- </p>
179
- <p>
180
- <small>
181
- * Theme demos are loaded after the presentation which leads to flicker. In production you should load your theme in the <code>&lt;head&gt;</code> using a <code>&lt;link&gt;</code>.
182
- </small>
183
- </p>
184
- </section>
185
-
186
- <section>
187
- <h2>Global State</h2>
188
- <p>
189
- Set <code>data-state="something"</code> on a slide and <code>"something"</code>
190
- will be added as a class to the document element when the slide is open. This lets you
191
- apply broader style changes, like switching the background.
192
- </p>
193
- </section>
194
-
195
- <section data-state="customevent">
196
- <h2>Custom Events</h2>
197
- <p>
198
- Additionally custom events can be triggered on a per slide basis by binding to the <code>data-state</code> name.
165
+ reveal.js comes with a few themes built in: <br>
166
+ <!-- Hacks to swap themes after the page has loaded. Not flexible and only intended for the reveal.js demo deck. -->
167
+ <a href="#" onclick="document.getElementById('theme').setAttribute('href','css/theme/black.css'); return false;">Black (default)</a> -
168
+ <a href="#" onclick="document.getElementById('theme').setAttribute('href','css/theme/white.css'); return false;">White</a> -
169
+ <a href="#" onclick="document.getElementById('theme').setAttribute('href','css/theme/league.css'); return false;">League</a> -
170
+ <a href="#" onclick="document.getElementById('theme').setAttribute('href','css/theme/sky.css'); return false;">Sky</a> -
171
+ <a href="#" onclick="document.getElementById('theme').setAttribute('href','css/theme/beige.css'); return false;">Beige</a> -
172
+ <a href="#" onclick="document.getElementById('theme').setAttribute('href','css/theme/simple.css'); return false;">Simple</a> <br>
173
+ <a href="#" onclick="document.getElementById('theme').setAttribute('href','css/theme/serif.css'); return false;">Serif</a> -
174
+ <a href="#" onclick="document.getElementById('theme').setAttribute('href','css/theme/night.css'); return false;">Night</a> -
175
+ <a href="#" onclick="document.getElementById('theme').setAttribute('href','css/theme/moon.css'); return false;">Moon</a> -
176
+ <a href="#" onclick="document.getElementById('theme').setAttribute('href','css/theme/solarized.css'); return false;">Solarized</a>
199
177
  </p>
200
- <pre><code data-trim contenteditable style="font-size: 18px; margin-top: 20px;">
201
- Reveal.addEventListener( 'customevent', function() {
202
- console.log( '"customevent" has fired' );
203
- } );
204
- </code></pre>
205
178
  </section>
206
179
 
207
180
  <section>
208
- <section data-background="#007777">
181
+ <section data-background="#dddddd">
209
182
  <h2>Slide Backgrounds</h2>
210
183
  <p>
211
- Set <code>data-background="#007777"</code> on a slide to change the full page background to the given color. All CSS color formats are supported.
184
+ Set <code>data-background="#dddddd"</code> on a slide to change the background color. All CSS color formats are supported.
212
185
  </p>
213
- <a href="#" class="image navigate-down">
214
- <img width="178" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Down arrow">
186
+ <a href="#" class="navigate-down">
187
+ <img width="178" height="238" data-src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Down arrow">
215
188
  </a>
216
189
  </section>
217
- <section data-background="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png">
190
+ <section data-background="https://s3.amazonaws.com/hakim-static/reveal-js/image-placeholder.png">
218
191
  <h2>Image Backgrounds</h2>
219
192
  <pre><code>&lt;section data-background="image.png"&gt;</code></pre>
220
193
  </section>
221
- <section data-background="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" data-background-repeat="repeat" data-background-size="100px">
222
- <h2>Repeated Image Backgrounds</h2>
194
+ <section data-background="https://s3.amazonaws.com/hakim-static/reveal-js/image-placeholder.png" data-background-repeat="repeat" data-background-size="100px">
195
+ <h2>Tiled Backgrounds</h2>
223
196
  <pre><code style="word-wrap: break-word;">&lt;section data-background="image.png" data-background-repeat="repeat" data-background-size="100px"&gt;</code></pre>
224
197
  </section>
198
+ <section data-background-video="https://s3.amazonaws.com/static.slid.es/site/homepage/v1/homepage-video-editor.mp4,https://s3.amazonaws.com/static.slid.es/site/homepage/v1/homepage-video-editor.webm" data-background-color="#000000">
199
+ <div style="background-color: rgba(0, 0, 0, 0.9); color: #fff; padding: 20px;">
200
+ <h2>Video Backgrounds</h2>
201
+ <pre><code style="word-wrap: break-word;">&lt;section data-background-video="video.mp4,video.webm"&gt;</code></pre>
202
+ </div>
203
+ </section>
225
204
  </section>
226
205
 
227
- <section data-transition="linear" data-background="#4d7e65" data-background-transition="slide">
206
+ <section data-transition="slide" data-background="#4d7e65" data-background-transition="zoom">
228
207
  <h2>Background Transitions</h2>
229
208
  <p>
230
- Pass reveal.js the <code>backgroundTransition: 'slide'</code> config argument to make backgrounds slide rather than fade.
209
+ Different background transitions are available via the backgroundTransition option. This one's called "zoom".
231
210
  </p>
211
+ <pre><code>Reveal.configure({ backgroundTransition: 'zoom' })</code></pre>
232
212
  </section>
233
213
 
234
- <section data-transition="linear" data-background="#8c4738" data-background-transition="slide">
235
- <h2>Background Transition Override</h2>
214
+ <section data-transition="slide" data-background="#b5533c" data-background-transition="zoom">
215
+ <h2>Background Transitions</h2>
236
216
  <p>
237
- You can override background transitions per slide by using <code>data-background-transition="slide"</code>.
217
+ You can override background transitions per-slide.
238
218
  </p>
239
- </section>
240
-
241
- <section>
242
- <h2>Clever Quotes</h2>
243
- <p>
244
- These guys come in two forms, inline: <q cite="http://searchservervirtualization.techtarget.com/definition/Our-Favorite-Technology-Quotations">
245
- &ldquo;The nice thing about standards is that there are so many to choose from&rdquo;</q> and block:
246
- </p>
247
- <blockquote cite="http://searchservervirtualization.techtarget.com/definition/Our-Favorite-Technology-Quotations">
248
- &ldquo;For years there has been a theory that millions of monkeys typing at random on millions of typewriters would
249
- reproduce the entire works of Shakespeare. The Internet has proven this theory to be untrue.&rdquo;
250
- </blockquote>
219
+ <pre><code style="word-wrap: break-word;">&lt;section data-background-transition="zoom"&gt;</code></pre>
251
220
  </section>
252
221
 
253
222
  <section>
@@ -268,7 +237,68 @@ function linkify( selector ) {
268
237
  }
269
238
  }
270
239
  </code></pre>
271
- <p>Courtesy of <a href="http://softwaremaniacs.org/soft/highlight/en/description/">highlight.js</a>.</p>
240
+ <p>Code syntax highlighting courtesy of <a href="http://softwaremaniacs.org/soft/highlight/en/description/">highlight.js</a>.</p>
241
+ </section>
242
+
243
+ <section>
244
+ <h2>Marvelous List</h2>
245
+ <ul>
246
+ <li>No order here</li>
247
+ <li>Or here</li>
248
+ <li>Or here</li>
249
+ <li>Or here</li>
250
+ </ul>
251
+ </section>
252
+
253
+ <section>
254
+ <h2>Fantastic Ordered List</h2>
255
+ <ol>
256
+ <li>One is smaller than...</li>
257
+ <li>Two is smaller than...</li>
258
+ <li>Three!</li>
259
+ </ol>
260
+ </section>
261
+
262
+ <section>
263
+ <h2>Tabular Tables</h2>
264
+ <table>
265
+ <thead>
266
+ <tr>
267
+ <th>Item</th>
268
+ <th>Value</th>
269
+ <th>Quantity</th>
270
+ </tr>
271
+ </thead>
272
+ <tbody>
273
+ <tr>
274
+ <td>Apples</td>
275
+ <td>$1</td>
276
+ <td>7</td>
277
+ <tr>
278
+ <tr>
279
+ <td>Lemonade</td>
280
+ <td>$2</td>
281
+ <td>18</td>
282
+ <tr>
283
+ <tr>
284
+ <td>Bread</td>
285
+ <td>$3</td>
286
+ <td>2</td>
287
+ <tr>
288
+ </tbody>
289
+ </table>
290
+ </section>
291
+
292
+ <section>
293
+ <h2>Clever Quotes</h2>
294
+ <p>
295
+ These guys come in two forms, inline: <q cite="http://searchservervirtualization.techtarget.com/definition/Our-Favorite-Technology-Quotations">
296
+ &ldquo;The nice thing about standards is that there are so many to choose from&rdquo;</q> and block:
297
+ </p>
298
+ <blockquote cite="http://searchservervirtualization.techtarget.com/definition/Our-Favorite-Technology-Quotations">
299
+ &ldquo;For years there has been a theory that millions of monkeys typing at random on millions of typewriters would
300
+ reproduce the entire works of Shakespeare. The Internet has proven this theory to be untrue.&rdquo;
301
+ </blockquote>
272
302
  </section>
273
303
 
274
304
  <section>
@@ -280,71 +310,66 @@ function linkify( selector ) {
280
310
  </section>
281
311
 
282
312
  <section>
283
- <section id="fragments">
284
- <h2>Fragmented Views</h2>
285
- <p>Hit the next arrow...</p>
286
- <p class="fragment">... to step through ...</p>
287
- <ol>
288
- <li class="fragment"><code>any type</code></li>
289
- <li class="fragment"><em>of view</em></li>
290
- <li class="fragment"><strong>fragments</strong></li>
291
- </ol>
313
+ <h2>Speaker View</h2>
314
+ <p>There's a <a href="https://github.com/hakimel/reveal.js#speaker-notes">speaker view</a>. It includes a timer, preview of the upcoming slide as well as your speaker notes.</p>
315
+ <p>Press the <em>S</em> key to try it out.</p>
292
316
 
293
- <aside class="notes">
294
- This slide has fragments which are also stepped through in the notes window.
295
- </aside>
296
- </section>
297
- <section>
298
- <h2>Fragment Styles</h2>
299
- <p>There's a few styles of fragments, like:</p>
300
- <p class="fragment grow">grow</p>
301
- <p class="fragment shrink">shrink</p>
302
- <p class="fragment roll-in">roll-in</p>
303
- <p class="fragment fade-out">fade-out</p>
304
- <p class="fragment highlight-red">highlight-red</p>
305
- <p class="fragment highlight-green">highlight-green</p>
306
- <p class="fragment highlight-blue">highlight-blue</p>
307
- <p class="fragment current-visible">current-visible</p>
308
- <p class="fragment highlight-current-blue">highlight-current-blue</p>
309
- </section>
317
+ <aside class="notes">
318
+ Oh hey, these are some notes. They'll be hidden in your presentation, but you can see them if you open the speaker notes window (hit 's' on your keyboard).
319
+ </aside>
310
320
  </section>
311
321
 
312
322
  <section>
313
- <h2>Spectacular image!</h2>
314
- <a class="image" href="http://lab.hakim.se/meny/" target="_blank">
315
- <img width="320" height="299" src="http://s3.amazonaws.com/hakim-static/portfolio/images/meny.png" alt="Meny">
316
- </a>
323
+ <h2>Export to PDF</h2>
324
+ <p>Presentations can be <a href="https://github.com/hakimel/reveal.js#pdf-export">exported to PDF</a>, here's an example:</p>
325
+ <iframe src="//www.slideshare.net/slideshow/embed_code/42840540" width="445" height="355" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:3px solid #666; margin-bottom:5px; max-width: 100%;" allowfullscreen> </iframe>
317
326
  </section>
318
327
 
319
328
  <section>
320
- <h2>Export to PDF</h2>
321
- <p>Presentations can be <a href="https://github.com/hakimel/reveal.js#pdf-export">exported to PDF</a>, below is an example that's been uploaded to SlideShare.</p>
322
- <iframe id="slideshare" src="http://www.slideshare.net/slideshow/embed_code/13872948" width="455" height="356" style="margin:0;overflow:hidden;border:1px solid #CCC;border-width:1px 1px 0;margin-bottom:5px" allowfullscreen> </iframe>
323
- <script>
324
- document.getElementById('slideshare').attributeName = 'allowfullscreen';
325
- </script>
329
+ <h2>Global State</h2>
330
+ <p>
331
+ Set <code>data-state="something"</code> on a slide and <code>"something"</code>
332
+ will be added as a class to the document element when the slide is open. This lets you
333
+ apply broader style changes, like switching the page background.
334
+ </p>
335
+ </section>
336
+
337
+ <section data-state="customevent">
338
+ <h2>State Events</h2>
339
+ <p>
340
+ Additionally custom events can be triggered on a per slide basis by binding to the <code>data-state</code> name.
341
+ </p>
342
+ <pre><code class="javascript" data-trim contenteditable style="font-size: 18px;">
343
+ Reveal.addEventListener( 'customevent', function() {
344
+ console.log( '"customevent" has fired' );
345
+ } );
346
+ </code></pre>
326
347
  </section>
327
348
 
328
349
  <section>
329
350
  <h2>Take a Moment</h2>
330
351
  <p>
331
- Press b or period on your keyboard to enter the 'paused' mode. This mode is helpful when you want to take distracting slides off the screen
332
- during a presentation.
352
+ Press B or . on your keyboard to pause the presentation. This is helpful when you're on stage and want to take distracting slides off the screen.
333
353
  </p>
334
354
  </section>
335
355
 
336
356
  <section>
337
- <h2>Stellar Links</h2>
357
+ <h2>Much more</h2>
338
358
  <ul>
339
- <li><a href="http://slid.es">Try the online editor</a></li>
340
- <li><a href="https://github.com/hakimel/reveal.js">Source code on GitHub</a></li>
341
- <li><a href="http://twitter.com/hakimel">Follow me on Twitter</a></li>
359
+ <li>Right-to-left support</li>
360
+ <li><a href="https://github.com/hakimel/reveal.js#api">Extensive JavaScript API</a></li>
361
+ <li><a href="https://github.com/hakimel/reveal.js#auto-sliding">Auto-progression</a></li>
362
+ <li><a href="https://github.com/hakimel/reveal.js#parallax-background">Parallax backgrounds</a></li>
363
+ <li><a href="https://github.com/hakimel/reveal.js#keyboard-bindings">Custom keyboard bindings</a></li>
342
364
  </ul>
343
365
  </section>
344
366
 
345
- <section>
367
+ <section style="text-align: left;">
346
368
  <h1>THE END</h1>
347
- <h3>BY Hakim El Hattab / hakim.se</h3>
369
+ <p>
370
+ - <a href="http://slides.com">Try the online editor</a> <br>
371
+ - <a href="https://github.com/hakimel/reveal.js">Source code &amp; documentation</a>
372
+ </p>
348
373
  </section>
349
374
 
350
375
  </div>
@@ -352,11 +377,11 @@ function linkify( selector ) {
352
377
  </div>
353
378
 
354
379
  <script src="lib/js/head.min.js"></script>
355
- <script src="js/reveal.min.js"></script>
380
+ <script src="js/reveal.js"></script>
356
381
 
357
382
  <script>
358
383
 
359
- // Full list of configuration options available here:
384
+ // Full list of configuration options available at:
360
385
  // https://github.com/hakimel/reveal.js#configuration
361
386
  Reveal.initialize({
362
387
  controls: true,
@@ -364,21 +389,16 @@ function linkify( selector ) {
364
389
  history: true,
365
390
  center: true,
366
391
 
367
- theme: Reveal.getQueryHash().theme, // available themes are in /css/theme
368
- transition: Reveal.getQueryHash().transition || 'default', // default/cube/page/concave/zoom/linear/fade/none
369
-
370
- // Parallax scrolling
371
- // parallaxBackgroundImage: 'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg',
372
- // parallaxBackgroundSize: '2100px 900px',
392
+ transition: 'slide', // none/fade/slide/convex/concave/zoom
373
393
 
374
- // Optional libraries used to extend on reveal.js
394
+ // Optional reveal.js plugins
375
395
  dependencies: [
376
396
  { src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
377
397
  { src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
378
398
  { src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
379
- { src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
380
- { src: 'plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
381
- { src: 'plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } }
399
+ { src: 'plugin/highlight/highlight.js', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
400
+ { src: 'plugin/zoom-js/zoom.js', async: true },
401
+ { src: 'plugin/notes/notes.js', async: true }
382
402
  ]
383
403
  });
384
404