index.html 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. <title>reveal.js</title>
  7. <link rel="stylesheet" href="css/reset.css">
  8. <link rel="stylesheet" href="css/reveal.css">
  9. <link rel="stylesheet" href="css/theme/black.css">
  10. <!-- Theme used for syntax highlighting of code -->
  11. <link rel="stylesheet" href="lib/css/zenburn.css">
  12. <!-- Printing and PDF exports -->
  13. <script>
  14. var link = document.createElement( 'link' );
  15. link.rel = 'stylesheet';
  16. link.type = 'text/css';
  17. link.href = window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css';
  18. document.getElementsByTagName( 'head' )[0].appendChild( link );
  19. </script>
  20. </head>
  21. <body>
  22. <div class="reveal">
  23. <div class="slides">
  24. <section>Slide 1</section>
  25. <section>Slide 2</section>
  26. </div>
  27. </div>
  28. <script src="js/reveal.js"></script>
  29. <script>
  30. // More info about config & dependencies:
  31. // - https://github.com/hakimel/reveal.js#configuration
  32. // - https://github.com/hakimel/reveal.js#dependencies
  33. Reveal.initialize({
  34. dependencies: [
  35. { src: 'plugin/markdown/marked.js' },
  36. { src: 'plugin/markdown/markdown.js' },
  37. { src: 'plugin/notes/notes.js', async: true },
  38. { src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } }
  39. ]
  40. });
  41. </script>
  42. </body>
  43. </html>