Bruce's Thinkpad | 8b73dcf | 2016-07-14 00:12:43 +0800 | [diff] [blame^] | 1 | <!doctype html> |
| 2 | <html> |
| 3 | <head> |
| 4 | <meta charset="utf-8"> |
| 5 | <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> |
| 6 | |
| 7 | <title>reveal.js</title> |
| 8 | |
| 9 | <link rel="stylesheet" href="css/reveal.css"> |
| 10 | <link rel="stylesheet" href="css/theme/black.css"> |
| 11 | |
| 12 | <!-- Theme used for syntax highlighting of code --> |
| 13 | <link rel="stylesheet" href="lib/css/zenburn.css"> |
| 14 | |
| 15 | <!-- Printing and PDF exports --> |
| 16 | <script> |
| 17 | var link = document.createElement( 'link' ); |
| 18 | link.rel = 'stylesheet'; |
| 19 | link.type = 'text/css'; |
| 20 | link.href = window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css'; |
| 21 | document.getElementsByTagName( 'head' )[0].appendChild( link ); |
| 22 | </script> |
| 23 | </head> |
| 24 | <body> |
| 25 | <div class="reveal"> |
| 26 | <div class="slides"> |
| 27 | <section>Slide 1</section> |
| 28 | <section>Slide 2</section> |
| 29 | </div> |
| 30 | </div> |
| 31 | |
| 32 | <script src="lib/js/head.min.js"></script> |
| 33 | <script src="js/reveal.js"></script> |
| 34 | |
| 35 | <script> |
| 36 | // More info https://github.com/hakimel/reveal.js#configuration |
| 37 | Reveal.initialize({ |
| 38 | history: true, |
| 39 | |
| 40 | // More info https://github.com/hakimel/reveal.js#dependencies |
| 41 | dependencies: [ |
| 42 | { src: 'plugin/markdown/marked.js' }, |
| 43 | { src: 'plugin/markdown/markdown.js' }, |
| 44 | { src: 'plugin/notes/notes.js', async: true }, |
| 45 | { src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } } |
| 46 | ] |
| 47 | }); |
| 48 | </script> |
| 49 | </body> |
| 50 | </html> |