test-markdown.html 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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-1.12.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="../lib/js/head.min.js"></script>
  28. <script src="../js/reveal.js"></script>
  29. <script src="../plugin/markdown/marked.js"></script>
  30. <script src="../plugin/markdown/markdown.js"></script>
  31. <script src="qunit-1.12.0.js"></script>
  32. <script src="test-markdown.js"></script>
  33. </body>
  34. </html>