blob: 76390e62e1a4d71e508d9779bbce962db05b865b [file] [log] [blame]
JJ Allaire2ec40242014-09-15 09:18:39 -04001<!doctype html>
2<html lang="en">
3
4 <head>
5 <meta charset="utf-8">
6
7 <title>reveal.js - The HTML Presentation Framework</title>
8
9 <meta name="description" content="A framework for easily creating beautiful presentations using HTML">
10 <meta name="author" content="Hakim El Hattab">
11
12 <meta name="apple-mobile-web-app-capable" content="yes" />
13 <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
14
15 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
16
17 <link rel="stylesheet" href="css/reveal.min.css">
18 <link rel="stylesheet" href="css/theme/default.css" id="theme">
19
20 <!-- For syntax highlighting -->
21 <link rel="stylesheet" href="lib/css/zenburn.css">
22
23 <!-- If the query includes 'print-pdf', use the PDF print sheet -->
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">' );
26 </script>
27
28 <!--[if lt IE 9]>
29 <script src="lib/js/html5shiv.js"></script>
30 <![endif]-->
31 </head>
32
33 <body>
34
35 <div class="reveal">
36
37 <!-- Any section element inside of this container is displayed as a slide -->
38 <div class="slides">
39 <section>
40 <h1>Reveal.js</h1>
41 <h3>HTML Presentations Made Easy</h3>
42 <p>
43 <small>Created by <a href="http://hakim.se">Hakim El Hattab</a> / <a href="http://twitter.com/hakimel">@hakimel</a></small>
44 </p>
45 </section>
46
47 <section>
48 <h2>Heads Up</h2>
49 <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.
52 </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 </section>
58
59 <!-- Example of nested vertical slides -->
60 <section>
61 <section>
62 <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">
69 </a>
70 </section>
71 <section>
72 <h2>Basement Level 1</h2>
73 <p>Press down or up to navigate.</p>
74 </section>
75 <section>
76 <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 <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);">
87 </a>
88 </section>
89 </section>
90
91 <section>
92 <h2>Slides</h2>
93 <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>.
95 </p>
96 </section>
97
98 <section>
99 <h2>Point of View</h2>
100 <p>
101 Press <strong>ESC</strong> to enter the slide overview.
102 </p>
103 <p>
104 Hold down alt and click on any element to zoom in on it using <a href="http://lab.hakim.se/zoom-js">zoom.js</a>. Alt + click anywhere to zoom back out.
105 </p>
106 </section>
107
108 <section>
109 <h2>Works in Mobile Safari</h2>
110 <p>
111 Try it out! You can swipe through the slides and pinch your way to the overview.
112 </p>
113 </section>
114
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 <section data-markdown>
135 <script type="text/template">
136 ## Markdown support
137
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).
139
140 ```
141 <section data-markdown>
142 ## Markdown support
143
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).
146 </section>
147 ```
148 </script>
149 </section>
150
151 <section id="transitions">
152 <h2>Transition Styles</h2>
153 <p>
154 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 <a href="?transition=none#/transitions">None</a> -
162 <a href="?#/transitions">Default</a>
163 </p>
164 </section>
165
166 <section id="themes">
167 <h2>Themes</h2>
168 <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.css#/themes">Moon</a> -
177 <a href="?theme=simple.css#/themes">Simple</a> -
178 <a href="?theme=solarized.css#/themes">Solarized</a>
179 </p>
180 <p>
181 <small>
182 * 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>.
183 </small>
184 </p>
185 </section>
186
187 <section>
188 <h2>Global State</h2>
189 <p>
190 Set <code>data-state="something"</code> on a slide and <code>"something"</code>
191 will be added as a class to the document element when the slide is open. This lets you
192 apply broader style changes, like switching the background.
193 </p>
194 </section>
195
196 <section data-state="customevent">
197 <h2>Custom Events</h2>
198 <p>
199 Additionally custom events can be triggered on a per slide basis by binding to the <code>data-state</code> name.
200 </p>
201 <pre><code data-trim contenteditable style="font-size: 18px; margin-top: 20px;">
202Reveal.addEventListener( 'customevent', function() {
203 console.log( '"customevent" has fired' );
204} );
205 </code></pre>
206 </section>
207
208 <section>
209 <section data-background="#007777">
210 <h2>Slide Backgrounds</h2>
211 <p>
212 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.
213 </p>
214 <a href="#" class="image navigate-down">
215 <img width="178" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Down arrow">
216 </a>
217 </section>
218 <section data-background="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png">
219 <h2>Image Backgrounds</h2>
220 <pre><code>&lt;section data-background="image.png"&gt;</code></pre>
221 </section>
222 <section data-background="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" data-background-repeat="repeat" data-background-size="100px">
223 <h2>Repeated Image Backgrounds</h2>
224 <pre><code style="word-wrap: break-word;">&lt;section data-background="image.png" data-background-repeat="repeat" data-background-size="100px"&gt;</code></pre>
225 </section>
226 </section>
227
228 <section data-transition="linear" data-background="#4d7e65" data-background-transition="slide">
229 <h2>Background Transitions</h2>
230 <p>
231 Pass reveal.js the <code>backgroundTransition: 'slide'</code> config argument to make backgrounds slide rather than fade.
232 </p>
233 </section>
234
235 <section data-transition="linear" data-background="#8c4738" data-background-transition="slide">
236 <h2>Background Transition Override</h2>
237 <p>
238 You can override background transitions per slide by using <code>data-background-transition="slide"</code>.
239 </p>
240 </section>
241
242 <section>
243 <h2>Clever Quotes</h2>
244 <p>
245 These guys come in two forms, inline: <q cite="http://searchservervirtualization.techtarget.com/definition/Our-Favorite-Technology-Quotations">
246 &ldquo;The nice thing about standards is that there are so many to choose from&rdquo;</q> and block:
247 </p>
248 <blockquote cite="http://searchservervirtualization.techtarget.com/definition/Our-Favorite-Technology-Quotations">
249 &ldquo;For years there has been a theory that millions of monkeys typing at random on millions of typewriters would
250 reproduce the entire works of Shakespeare. The Internet has proven this theory to be untrue.&rdquo;
251 </blockquote>
252 </section>
253
254 <section>
255 <h2>Pretty Code</h2>
256 <pre><code data-trim contenteditable>
257function linkify( selector ) {
258 if( supports3DTransforms ) {
259
260 var nodes = document.querySelectorAll( selector );
261
262 for( var i = 0, len = nodes.length; i &lt; len; i++ ) {
263 var node = nodes[i];
264
265 if( !node.className ) {
266 node.className += ' roll';
267 }
268 }
269 }
270}
271 </code></pre>
272 <p>Courtesy of <a href="http://softwaremaniacs.org/soft/highlight/en/description/">highlight.js</a>.</p>
273 </section>
274
275 <section>
276 <h2>Intergalactic Interconnections</h2>
277 <p>
278 You can link between slides internally,
279 <a href="#/2/3">like this</a>.
280 </p>
281 </section>
282
283 <section>
284 <section id="fragments">
285 <h2>Fragmented Views</h2>
286 <p>Hit the next arrow...</p>
287 <p class="fragment">... to step through ...</p>
288 <ol>
289 <li class="fragment"><code>any type</code></li>
290 <li class="fragment"><em>of view</em></li>
291 <li class="fragment"><strong>fragments</strong></li>
292 </ol>
293
294 <aside class="notes">
295 This slide has fragments which are also stepped through in the notes window.
296 </aside>
297 </section>
298 <section>
299 <h2>Fragment Styles</h2>
300 <p>There's a few styles of fragments, like:</p>
301 <p class="fragment grow">grow</p>
302 <p class="fragment shrink">shrink</p>
303 <p class="fragment roll-in">roll-in</p>
304 <p class="fragment fade-out">fade-out</p>
305 <p class="fragment highlight-red">highlight-red</p>
306 <p class="fragment highlight-green">highlight-green</p>
307 <p class="fragment highlight-blue">highlight-blue</p>
308 <p class="fragment current-visible">current-visible</p>
309 <p class="fragment highlight-current-blue">highlight-current-blue</p>
310 </section>
311 </section>
312
313 <section>
314 <h2>Spectacular image!</h2>
315 <a class="image" href="http://lab.hakim.se/meny/" target="_blank">
316 <img width="320" height="299" src="http://s3.amazonaws.com/hakim-static/portfolio/images/meny.png" alt="Meny">
317 </a>
318 </section>
319
320 <section>
321 <h2>Export to PDF</h2>
322 <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>
323 <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>
324 <script>
325 document.getElementById('slideshare').attributeName = 'allowfullscreen';
326 </script>
327 </section>
328
329 <section>
330 <h2>Take a Moment</h2>
331 <p>
332 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
333 during a presentation.
334 </p>
335 </section>
336
337 <section>
338 <h2>Stellar Links</h2>
339 <ul>
340 <li><a href="http://slid.es">Try the online editor</a></li>
341 <li><a href="https://github.com/hakimel/reveal.js">Source code on GitHub</a></li>
342 <li><a href="http://twitter.com/hakimel">Follow me on Twitter</a></li>
343 </ul>
344 </section>
345
346 <section>
347 <h1>THE END</h1>
348 <h3>BY Hakim El Hattab / hakim.se</h3>
349 </section>
350
351 </div>
352
353 </div>
354
355 <script src="lib/js/head.min.js"></script>
356 <script src="js/reveal.min.js"></script>
357
358 <script>
359
360 // Full list of configuration options available here:
361 // https://github.com/hakimel/reveal.js#configuration
362 Reveal.initialize({
363 controls: true,
364 progress: true,
365 history: true,
366 center: true,
367
368 theme: Reveal.getQueryHash().theme, // available themes are in /css/theme
369 transition: Reveal.getQueryHash().transition || 'default', // default/cube/page/concave/zoom/linear/fade/none
370
371 // Parallax scrolling
372 // parallaxBackgroundImage: 'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg',
373 // parallaxBackgroundSize: '2100px 900px',
374
375 // Optional libraries used to extend on reveal.js
376 dependencies: [
377 { src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
378 { src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
379 { src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
380 { src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
381 { src: 'plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
382 { src: 'plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } }
383 ]
384 });
385
386 </script>
387
388 </body>
389</html>