2013-10-27 19:57:12 +01:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="en">
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
2013-11-30 23:08:43 +01:00
|
|
|
<title>reveal.js - Test Markdown Element Attributes</title>
|
2013-10-27 19:57:12 +01:00
|
|
|
|
|
|
|
<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>
|
2013-11-30 23:08:43 +01:00
|
|
|
<div id="qunit-fixture"></div>
|
2013-10-27 19:57:12 +01:00
|
|
|
|
2013-11-30 23:08:43 +01:00
|
|
|
<div class="reveal" style="display: none;">
|
2013-10-27 19:57:12 +01:00
|
|
|
|
|
|
|
<div class="slides">
|
|
|
|
|
|
|
|
<!-- <section data-markdown="example.md" data-separator="^\n\n\n" data-vertical="^\n\n"></section> -->
|
|
|
|
|
|
|
|
<!-- Slides are separated by newline + three dashes + newline, vertical slides identical but two dashes -->
|
2013-10-28 14:46:33 +01:00
|
|
|
<section data-markdown data-separator="^\n---\n$" data-vertical="^\n--\n$" data-element-attributes="{_\s*?([^}]+?)}">>
|
2013-10-27 19:57:12 +01:00
|
|
|
<script type="text/template">
|
2013-11-27 22:48:01 +01:00
|
|
|
## Slide 1.1
|
|
|
|
<!-- {_class="fragment fade-out" data-fragment-index="1"} -->
|
2013-10-27 19:57:12 +01:00
|
|
|
|
|
|
|
--
|
|
|
|
|
2013-11-27 22:48:01 +01:00
|
|
|
## Slide 1.2
|
|
|
|
<!-- {_class="fragment shrink"} -->
|
2013-10-27 19:57:12 +01:00
|
|
|
|
2013-11-27 22:48:01 +01:00
|
|
|
Paragraph 1
|
|
|
|
<!-- {_class="fragment grow"} -->
|
2013-10-27 19:57:12 +01:00
|
|
|
|
2013-11-27 22:48:01 +01:00
|
|
|
Paragraph 2
|
|
|
|
<!-- {_class="fragment grow"} -->
|
2013-10-27 19:57:12 +01:00
|
|
|
|
2013-11-30 23:08:43 +01:00
|
|
|
- list item 1 <!-- {_class="fragment roll-in"} -->
|
|
|
|
- list item 2 <!-- {_class="fragment roll-in"} -->
|
|
|
|
- list item 3 <!-- {_class="fragment roll-in"} -->
|
2013-10-27 19:57:12 +01:00
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
## Slide 2
|
|
|
|
|
|
|
|
|
2013-11-27 22:48:01 +01:00
|
|
|
Paragraph 1.2
|
2013-11-30 23:08:43 +01:00
|
|
|
multi-line <!-- {_class="fragment highlight-red"} -->
|
2013-10-27 19:57:12 +01:00
|
|
|
|
2013-11-30 23:08:43 +01:00
|
|
|
Paragraph 2.2 <!-- {_class="fragment highlight-red"} -->
|
2013-10-27 19:57:12 +01:00
|
|
|
|
2013-11-30 23:08:43 +01:00
|
|
|
Paragraph 2.3 <!-- {_class="fragment highlight-red"} -->
|
2013-10-27 19:57:12 +01:00
|
|
|
|
2013-11-30 23:08:43 +01:00
|
|
|
Paragraph 2.4 <!-- {_class="fragment highlight-red"} -->
|
2013-10-27 19:57:12 +01:00
|
|
|
|
2013-11-30 23:08:43 +01:00
|
|
|
- list item 1 <!-- {_class="fragment highlight-green"} -->
|
|
|
|
- list item 2<!-- {_class="fragment highlight-green"} -->
|
|
|
|
- list item 3<!-- {_class="fragment highlight-green"} -->
|
2013-11-27 22:48:01 +01:00
|
|
|
- list item 4
|
|
|
|
<!-- {_class="fragment highlight-green"} -->
|
2013-11-30 23:08:43 +01:00
|
|
|
- list item 5<!-- {_class="fragment highlight-green"} -->
|
2013-10-28 14:06:43 +01:00
|
|
|
|
|
|
|
Test
|
|
|
|
|
2013-11-27 22:48:01 +01:00
|
|
|
![Example Picture](examples/assets/image2.png)
|
|
|
|
<!-- {_class="reveal stretch"} -->
|
2013-10-27 19:57:12 +01:00
|
|
|
|
|
|
|
</script>
|
|
|
|
</section>
|
|
|
|
|
2013-11-30 23:08:43 +01:00
|
|
|
|
|
|
|
|
|
|
|
<section data-markdown data-separator="^\n\n\n"
|
|
|
|
data-vertical="^\n\n"
|
|
|
|
data-notes="^Note:"
|
|
|
|
data-charset="utf-8">
|
|
|
|
<script type="text/template">
|
|
|
|
# Test attributes in Markdown with default separator
|
|
|
|
## Slide 1 Def <!-- .element: class="fragment highlight-red" data-fragment-index="1" -->
|
|
|
|
|
|
|
|
|
|
|
|
## Slide 2 Def
|
|
|
|
<!-- .element: class="fragment highlight-red" -->
|
|
|
|
|
|
|
|
</script>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section data-markdown>
|
|
|
|
<script type="text/template">
|
|
|
|
## Hello world
|
|
|
|
A paragraph
|
|
|
|
<!-- .element: class="fragment highlight-blue" -->
|
|
|
|
</script>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section data-markdown>
|
|
|
|
<script type="text/template">
|
|
|
|
## Hello world
|
|
|
|
|
|
|
|
Multiple
|
|
|
|
Line
|
|
|
|
<!-- .element: class="fragment highlight-blue" -->
|
|
|
|
</script>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section data-markdown>
|
|
|
|
<script type="text/template">
|
|
|
|
## Hello world
|
|
|
|
|
|
|
|
Test<!-- .element: class="fragment highlight-blue" -->
|
|
|
|
|
|
|
|
More Test
|
|
|
|
</script>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
2013-10-27 19:57:12 +01:00
|
|
|
</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>
|
|
|
|
|
2013-11-23 22:29:37 +01:00
|
|
|
<script src="test-markdown-element-attributes.js"></script>
|
2013-10-27 19:57:12 +01:00
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|