aboutsummaryrefslogtreecommitdiff
path: root/test/test-markdown-attributes.html
blob: 780f2be89137f72d197837e108e86dbbb4372bfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<!doctype html>
<html lang="en">

	<head>
		<meta charset="utf-8">

		<title>reveal.js - Test Markdown Attributes</title>

		<link rel="stylesheet" href="../css/reveal.min.css">
		<link rel="stylesheet" href="qunit-1.12.0.css">
	</head>

	<body style="overflow: auto;">

		<div id="qunit"></div>
  		<div id="qunit-fixture"></div>

		<div class="reveal" style="display: none;">

			<div class="slides">

				<!-- <section data-markdown="example.md" data-separator="^\n\n\n" data-vertical="^\n\n"></section> -->

				<!-- Slides are separated by three lines, vertical slides by two lines, attributes are one any line starting with (spaces and) two dashes -->
				<section 	data-markdown data-separator="^\n\n\n"
									data-vertical="^\n\n"
									data-notes="^Note:"
                 	data-attributes="^\s*?--\s(.*?)$"
                 	data-charset="utf-8">
					<script type="text/template">
						# Test attributes in Markdown
						## Slide 1



						## Slide 2
						-- id="slide2" data-transition="zoom" data-background="#A0C66B"


						## Slide 2.1
						-- data-background="#ff0000" data-transition="fade"


						## Slide 2.2
						[Link to Slide2](#/slide2)



						## Slide 3
						-- data-transition="zoom" data-background="#C6916B"



						## Slide 4
					</script>
				</section>

			</div>

		</div>

		<script src="../lib/js/head.min.js"></script>
		<script src="../js/reveal.min.js"></script>
		<script src="../plugin/markdown/marked.js"></script>
		<script src="../plugin/markdown/markdown.js"></script>
		<script src="qunit-1.12.0.js"></script>

		<script src="test-markdown-attributes.js"></script>

	</body>
</html>