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
|
|
|
|
2014-04-06 10:09:25 +02:00
|
|
|
<link rel="stylesheet" href="../css/reveal.css">
|
2018-01-22 15:35:15 +01:00
|
|
|
<link rel="stylesheet" href="qunit-2.5.0.css">
|
2013-10-27 19:57:12 +01:00
|
|
|
</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">
|
|
|
|
|
2014-02-17 21:15:02 +01:00
|
|
|
<!-- <section data-markdown="example.md" data-separator="^\n\n\n" data-separator-vertical="^\n\n"></section> -->
|
2013-10-27 19:57:12 +01:00
|
|
|
|
|
|
|
<!-- Slides are separated by newline + three dashes + newline, vertical slides identical but two dashes -->
|
2014-02-17 21:15:02 +01:00
|
|
|
<section data-markdown data-separator="^\n---\n$" data-separator-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
|
|
|
|
2015-04-12 18:22:33 +02:00
|
|
|
- list item 1 <!-- {_class="fragment grow"} -->
|
|
|
|
- list item 2 <!-- {_class="fragment grow"} -->
|
|
|
|
- list item 3 <!-- {_class="fragment grow"} -->
|
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"
|
2014-02-17 21:15:02 +01:00
|
|
|
data-separator-vertical="^\n\n"
|
|
|
|
data-separator-notes="^Note:"
|
2013-11-30 23:08:43 +01:00
|
|
|
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>
|
2014-04-06 10:09:25 +02:00
|
|
|
<script src="../js/reveal.js"></script>
|
2013-10-27 19:57:12 +01:00
|
|
|
<script src="../plugin/markdown/marked.js"></script>
|
|
|
|
<script src="../plugin/markdown/markdown.js"></script>
|
2018-01-22 15:35:15 +01:00
|
|
|
<script src="qunit-2.5.0.js"></script>
|
2013-10-27 19:57:12 +01:00
|
|
|
|
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>
|