2013-10-14 11:37:48 +00:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="en">
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
|
|
|
<title>reveal.js - Test Markdown Attributes</title>
|
|
|
|
|
2014-04-06 08:09:25 +00:00
|
|
|
<link rel="stylesheet" href="../css/reveal.css">
|
2018-01-22 14:35:15 +00:00
|
|
|
<link rel="stylesheet" href="qunit-2.5.0.css">
|
2013-10-14 11:37:48 +00:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body style="overflow: auto;">
|
|
|
|
|
|
|
|
<div id="qunit"></div>
|
2013-11-30 22:06:47 +00:00
|
|
|
<div id="qunit-fixture"></div>
|
2013-10-14 11:37:48 +00:00
|
|
|
|
2013-11-30 22:06:47 +00:00
|
|
|
<div class="reveal" style="display: none;">
|
2013-10-14 11:37:48 +00:00
|
|
|
|
|
|
|
<div class="slides">
|
|
|
|
|
2014-02-17 20:15:02 +00:00
|
|
|
<!-- <section data-markdown="example.md" data-separator="^\n\n\n" data-separator-vertical="^\n\n"></section> -->
|
2013-10-14 11:37:48 +00:00
|
|
|
|
|
|
|
<!-- 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"
|
2014-02-17 20:15:02 +00:00
|
|
|
data-separator-vertical="^\n\n"
|
|
|
|
data-separator-notes="^Note:"
|
2013-11-27 21:48:01 +00:00
|
|
|
data-attributes="--\s(.*?)$"
|
2013-10-29 13:28:29 +00:00
|
|
|
data-charset="utf-8">
|
2013-10-14 11:37:48 +00:00
|
|
|
<script type="text/template">
|
|
|
|
# Test attributes in Markdown
|
|
|
|
## Slide 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Slide 2
|
2013-11-27 21:48:01 +00:00
|
|
|
<!-- -- id="slide2" data-transition="zoom" data-background="#A0C66B" -->
|
2013-10-14 11:37:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
## Slide 2.1
|
2013-11-27 21:48:01 +00:00
|
|
|
<!-- -- data-background="#ff0000" data-transition="fade" -->
|
2013-10-14 11:37:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
## Slide 2.2
|
|
|
|
[Link to Slide2](#/slide2)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Slide 3
|
2013-11-27 21:48:01 +00:00
|
|
|
<!-- -- data-transition="zoom" data-background="#C6916B" -->
|
2013-10-14 11:37:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-29 13:29:01 +00:00
|
|
|
## Slide 4
|
|
|
|
</script>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section data-markdown data-separator="^\n\n\n"
|
2014-02-17 20:15:02 +00:00
|
|
|
data-separator-vertical="^\n\n"
|
|
|
|
data-separator-notes="^Note:"
|
2013-10-29 13:29:01 +00:00
|
|
|
data-charset="utf-8">
|
|
|
|
<script type="text/template">
|
|
|
|
# Test attributes in Markdown with default separator
|
|
|
|
## Slide 1 Def
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Slide 2 Def
|
2013-11-30 22:06:47 +00:00
|
|
|
<!-- .slide: id="slide2def" data-transition="concave" data-background="#A7C66B" -->
|
2013-10-29 13:29:01 +00:00
|
|
|
|
|
|
|
|
|
|
|
## Slide 2.1 Def
|
2013-11-30 22:06:47 +00:00
|
|
|
<!-- .slide: data-background="#f70000" data-transition="page" -->
|
2013-10-29 13:29:01 +00:00
|
|
|
|
|
|
|
|
|
|
|
## Slide 2.2 Def
|
|
|
|
[Link to Slide2](#/slide2def)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Slide 3 Def
|
2013-11-30 22:06:47 +00:00
|
|
|
<!-- .slide: data-transition="concave" data-background="#C7916B" -->
|
2013-10-29 13:29:01 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-14 11:37:48 +00:00
|
|
|
## Slide 4
|
|
|
|
</script>
|
|
|
|
</section>
|
|
|
|
|
2013-11-30 22:06:47 +00:00
|
|
|
<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>
|
|
|
|
|
|
|
|
<section data-markdown>
|
|
|
|
<script type="text/template">
|
|
|
|
## Hello world
|
|
|
|
|
|
|
|
Test
|
|
|
|
<!-- .slide: data-background="#ff0000" -->
|
|
|
|
|
|
|
|
More Test
|
|
|
|
</script>
|
|
|
|
</section>
|
2013-11-06 10:06:03 +00:00
|
|
|
|
2013-10-14 11:37:48 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2014-04-06 08:09:25 +00:00
|
|
|
<script src="../js/reveal.js"></script>
|
2013-10-14 11:37:48 +00:00
|
|
|
<script src="../plugin/markdown/marked.js"></script>
|
|
|
|
<script src="../plugin/markdown/markdown.js"></script>
|
2018-01-22 14:35:15 +00:00
|
|
|
<script src="qunit-2.5.0.js"></script>
|
2013-10-14 11:37:48 +00:00
|
|
|
|
2013-12-02 11:23:18 +00:00
|
|
|
<script src="test-markdown-slide-attributes.js"></script>
|
2013-10-14 11:37:48 +00:00
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|