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