diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test-markdown-attributes.html | 8 | ||||
-rw-r--r-- | test/test-markdown-element-attributes.html | 53 |
2 files changed, 39 insertions, 22 deletions
diff --git a/test/test-markdown-attributes.html b/test/test-markdown-attributes.html index 8f77dac..6818cd5 100644 --- a/test/test-markdown-attributes.html +++ b/test/test-markdown-attributes.html @@ -25,7 +25,7 @@ <section data-markdown data-separator="^\n\n\n" data-vertical="^\n\n" data-notes="^Note:" - data-attributes="^\s*?--\s(.*?)$" + data-attributes="--\s(.*?)$" data-charset="utf-8"> <script type="text/template"> # Test attributes in Markdown @@ -34,11 +34,11 @@ ## Slide 2 - -- id="slide2" data-transition="zoom" data-background="#A0C66B" + <!-- -- id="slide2" data-transition="zoom" data-background="#A0C66B" --> ## Slide 2.1 - -- data-background="#ff0000" data-transition="fade" + <!-- -- data-background="#ff0000" data-transition="fade" --> ## Slide 2.2 @@ -47,7 +47,7 @@ ## Slide 3 - -- data-transition="zoom" data-background="#C6916B" + <!-- -- data-transition="zoom" data-background="#C6916B" --> diff --git a/test/test-markdown-element-attributes.html b/test/test-markdown-element-attributes.html index e9f4038..6fe7f9a 100644 --- a/test/test-markdown-element-attributes.html +++ b/test/test-markdown-element-attributes.html @@ -24,19 +24,26 @@ <!-- Slides are separated by newline + three dashes + newline, vertical slides identical but two dashes --> <section data-markdown data-separator="^\n---\n$" data-vertical="^\n--\n$" data-element-attributes="{_\s*?([^}]+?)}">> <script type="text/template"> - ## Slide 1.1 {_class="fragment fade-out" data-fragment-index="1"} + ## Slide 1.1 + <!-- {_class="fragment fade-out" data-fragment-index="1"} --> -- - ## Slide 1.2 {_class="fragment shrink"} + ## Slide 1.2 + <!-- {_class="fragment shrink"} --> - Paragraph 1 {_class="fragment grow"} + Paragraph 1 + <!-- {_class="fragment grow"} --> - Paragraph 2 {_class="fragment grow"} + Paragraph 2 + <!-- {_class="fragment grow"} --> - - list item 1 {_class="fragment roll-in"} - - list item 2 {_class="fragment roll-in"} - - list item 3 {_class="fragment roll-in"} + - list item 1 + <!-- {_class="fragment roll-in"} --> + - list item 2 + <!-- {_class="fragment roll-in"} --> + - list item 3 + <!-- {_class="fragment roll-in"} --> --- @@ -44,24 +51,34 @@ ## Slide 2 - Paragraph 1.2 - multi-line {_class="fragment highlight-red"} + Paragraph 1.2 + multi-line + <!-- {_class="fragment highlight-red"} --> - Paragraph 2.2 {_class="fragment highlight-red"} + Paragraph 2.2 + <!-- {_class="fragment highlight-red"} --> - Paragraph 2.3 {_class="fragment highlight-red"} + Paragraph 2.3 + <!-- {_class="fragment highlight-red"} --> - Paragraph 2.4 {_class="fragment highlight-red"} + Paragraph 2.4 + <!-- {_class="fragment highlight-red"} --> - - list item 1 {_class="fragment highlight-green"} - - list item 2 {_class="fragment highlight-green"} - - list item 3 {_class="fragment highlight-green"} - - list item 4 {_class="fragment highlight-green"} - - list item 5 {_class="fragment highlight-green"} + - list item 1 + <!-- {_class="fragment highlight-green"} --> + - list item 2 + <!-- {_class="fragment highlight-green"} --> + - list item 3 + <!-- {_class="fragment highlight-green"} --> + - list item 4 + <!-- {_class="fragment highlight-green"} --> + - list item 5 + <!-- {_class="fragment highlight-green"} --> Test - ![Example Picture{_class="reveal stretch"}](assets/image2.png) + ![Example Picture](examples/assets/image2.png) + <!-- {_class="reveal stretch"} --> </script> </section> |