test-markdown.html 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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="../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-2.5.0.js"></script>
  32. <script src="test-markdown.js"></script>
  33. </body>
  34. </html>