index.html 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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="lib/js/head.min.js"></script>
  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>