aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/test-markdown-slide-attributes.html
diff options
context:
space:
mode:
authorMarvin Borner2019-04-01 20:16:24 +0200
committerMarvin Borner2019-04-01 20:16:24 +0200
commit83b56d1270cdb179b64a1be51f8c1e7fe586c35e (patch)
treeae40a84def05eb42c53305e0caa8c2a2440fce71 /test/test-markdown-slide-attributes.html
parent0b3e7839ebf4ed8b6c180aca0abafa28c67aee6d (diff)
Added content
Diffstat (limited to 'test/test-markdown-slide-attributes.html')
-rw-r--r--test/test-markdown-slide-attributes.html164
1 files changed, 79 insertions, 85 deletions
diff --git a/test/test-markdown-slide-attributes.html b/test/test-markdown-slide-attributes.html
index e90a9cf..8e56c2c 100644
--- a/test/test-markdown-slide-attributes.html
+++ b/test/test-markdown-slide-attributes.html
@@ -1,128 +1,122 @@
<!doctype html>
<html lang="en">
- <head>
- <meta charset="utf-8">
+<head>
+ <meta charset="utf-8">
- <title>reveal.js - Test Markdown Attributes</title>
+ <title>reveal.js - Test Markdown Attributes</title>
- <link rel="stylesheet" href="../css/reveal.css">
- <link rel="stylesheet" href="qunit-2.5.0.css">
- </head>
+ <link href="../css/reveal.css" rel="stylesheet">
+ <link href="qunit-2.5.0.css" rel="stylesheet">
+</head>
- <body style="overflow: auto;">
+<body style="overflow: auto;">
- <div id="qunit"></div>
- <div id="qunit-fixture"></div>
+<div id="qunit"></div>
+<div id="qunit-fixture"></div>
- <div class="reveal" style="display: none;">
+<div class="reveal" style="display: none;">
- <div class="slides">
+ <div class="slides">
- <!-- <section data-markdown="example.md" data-separator="^\n\n\n" data-separator-vertical="^\n\n"></section> -->
+ <!-- <section data-markdown="example.md" data-separator="^\n\n\n" data-separator-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-separator-vertical="^\n\n"
- data-separator-notes="^Note:"
- data-attributes="--\s(.*?)$"
- data-charset="utf-8">
- <script type="text/template">
- # Test attributes in Markdown
- ## Slide 1
+ <!-- Slides are separated by three lines, vertical slides by two lines, attributes are one any line starting with (spaces and) two dashes -->
+ <section data-attributes="--\s(.*?)$" data-charset="utf-8"
+ data-markdown
+ data-separator="^\n\n\n"
+ data-separator-notes="^Note:"
+ data-separator-vertical="^\n\n">
+ <script type="text/template">
+ # Test attributes in Markdown
+ ## Slide 1
+ ## Slide 2
+ <!-- -- id="slide2" data-transition="zoom" data-background="#A0C66B" -->
- ## Slide 2
- <!-- -- id="slide2" data-transition="zoom" data-background="#A0C66B" -->
+ ## Slide 2.1
+ <!-- -- data-background="#ff0000" data-transition="fade" -->
- ## Slide 2.1
- <!-- -- data-background="#ff0000" data-transition="fade" -->
+ ## Slide 2.2
+ [Link to Slide2](#/slide2)
- ## Slide 2.2
- [Link to Slide2](#/slide2)
+ ## Slide 3
+ <!-- -- data-transition="zoom" data-background="#C6916B" -->
- ## Slide 3
- <!-- -- data-transition="zoom" data-background="#C6916B" -->
+ ## Slide 4
+ </script>
+ </section>
+ <section data-charset="utf-8" data-markdown
+ data-separator="^\n\n\n"
+ data-separator-notes="^Note:"
+ data-separator-vertical="^\n\n">
+ <script type="text/template">
+ # Test attributes in Markdown with default separator
+ ## Slide 1 Def
- ## Slide 4
- </script>
- </section>
+ ## Slide 2 Def
+ <!-- .slide: id="slide2def" data-transition="concave" data-background="#A7C66B" -->
- <section data-markdown data-separator="^\n\n\n"
- data-separator-vertical="^\n\n"
- data-separator-notes="^Note:"
- data-charset="utf-8">
- <script type="text/template">
- # Test attributes in Markdown with default separator
- ## Slide 1 Def
+ ## Slide 2.1 Def
+ <!-- .slide: data-background="#f70000" data-transition="page" -->
- ## Slide 2 Def
- <!-- .slide: id="slide2def" data-transition="concave" data-background="#A7C66B" -->
+ ## Slide 2.2 Def
+ [Link to Slide2](#/slide2def)
- ## Slide 2.1 Def
- <!-- .slide: data-background="#f70000" data-transition="page" -->
+ ## Slide 3 Def
+ <!-- .slide: data-transition="concave" data-background="#C7916B" -->
- ## Slide 2.2 Def
- [Link to Slide2](#/slide2def)
+ ## Slide 4
+ </script>
+ </section>
+ <section data-markdown>
+ <script type="text/template">
+ <!-- .slide: data-background="#ff0000" -->
+ ## Hello world
+ </script>
+ </section>
+ <section data-markdown>
+ <script type="text/template">
+ ## Hello world
+ <!-- .slide: data-background="#ff0000" -->
+ </script>
+ </section>
- ## Slide 3 Def
- <!-- .slide: data-transition="concave" data-background="#C7916B" -->
+ <section data-markdown>
+ <script type="text/template">
+ ## Hello world
+ Test
+ <!-- .slide: data-background="#ff0000" -->
+ More Test
+ </script>
+ </section>
- ## Slide 4
- </script>
- </section>
+ </div>
- <section data-markdown>
- <script type="text/template">
- <!-- .slide: data-background="#ff0000" -->
- ## Hello world
- </script>
- </section>
+</div>
- <section data-markdown>
- <script type="text/template">
- ## Hello world
- <!-- .slide: data-background="#ff0000" -->
- </script>
- </section>
+<script src="../lib/js/head.min.js"></script>
+<script src="../js/reveal.js"></script>
+<script src="../plugin/markdown/marked.js"></script>
+<script src="../plugin/markdown/markdown.js"></script>
+<script src="qunit-2.5.0.js"></script>
- <section data-markdown>
- <script type="text/template">
- ## Hello world
+<script src="test-markdown-slide-attributes.js"></script>
- Test
- <!-- .slide: data-background="#ff0000" -->
-
- More Test
- </script>
- </section>
-
- </div>
-
- </div>
-
- <script src="../lib/js/head.min.js"></script>
- <script src="../js/reveal.js"></script>
- <script src="../plugin/markdown/marked.js"></script>
- <script src="../plugin/markdown/markdown.js"></script>
- <script src="qunit-2.5.0.js"></script>
-
- <script src="test-markdown-slide-attributes.js"></script>
-
- </body>
+</body>
</html>