7 <title>reveal.js - Markdown Demo</title>
9 <link rel="stylesheet" href="../../css/reveal.css">
10 <link rel="stylesheet" href="../../css/theme/white.css" id="theme">
12 <link rel="stylesheet" href="../../lib/css/zenburn.css">
21 <!-- Use external markdown resource, separate slides by three newlines; vertical slides by two newlines -->
22 <section data-markdown="example.md" data-separator="^\n\n\n" data-separator-vertical="^\n\n"></section>
24 <!-- Slides are separated by three dashes (quick 'n dirty regular expression) -->
25 <section data-markdown data-separator="---">
26 <script type="text/template">
38 <!-- Slides are separated by newline + three dashes + newline, vertical slides identical but two dashes -->
39 <section data-markdown data-separator="^\n---\n$" data-separator-vertical="^\n--\n$">
40 <script type="text/template">
56 <!-- No "extra" slides, since there are no separators defined (so they'll become horizontal rulers) -->
57 <section data-markdown>
58 <script type="text/template">
71 <!-- Slide attributes -->
72 <section data-markdown>
73 <script type="text/template">
74 <!-- .slide: data-background="#000000" -->
79 <!-- Element attributes -->
80 <section data-markdown>
81 <script type="text/template">
83 - Item 1 <!-- .element: class="fragment" data-fragment-index="2" -->
84 - Item 2 <!-- .element: class="fragment" data-fragment-index="1" -->
89 <section data-markdown>
90 <script type="text/template">
105 <script src="../../lib/js/head.min.js"></script>
106 <script src="../../js/reveal.js"></script>
116 // Optional libraries used to extend on reveal.js
118 { src: '../../lib/js/classList.js', condition: function() { return !document.body.classList; } },
119 { src: 'marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
120 { src: 'markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
121 { src: '../highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
122 { src: '../notes/notes.js' }