test-markdown.html 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>reveal.js - Test Markdown</title>
  6. <link rel="stylesheet" href="../css/reveal.css">
  7. <link rel="stylesheet" href="qunit-2.5.0.css">
  8. </head>
  9. <body style="overflow: auto;">
  10. <div id="qunit"></div>
  11. <div id="qunit-fixture"></div>
  12. <div class="reveal" style="display: none;">
  13. <div class="slides">
  14. <!-- <section data-markdown="example.md" data-separator="^\n\n\n" data-separator-vertical="^\n\n"></section> -->
  15. <!-- Slides are separated by newline + three dashes + newline, vertical slides identical but two dashes -->
  16. <section data-markdown data-separator="^\n---\n$" data-separator-vertical="^\n--\n$">
  17. <script type="text/template">
  18. ## Slide 1.1
  19. --
  20. ## Slide 1.2
  21. ---
  22. ## Slide 2
  23. </script>
  24. </section>
  25. </div>
  26. </div>
  27. <script src="../js/reveal.js"></script>
  28. <script src="../plugin/markdown/marked.js"></script>
  29. <script src="../plugin/markdown/markdown.js"></script>
  30. <script src="qunit-2.5.0.js"></script>
  31. <script src="test-markdown.js"></script>
  32. </body>
  33. </html>