Permalink
Browse files

add example of markdown slide and element attributes

  • Loading branch information...
1 parent bc62963 commit 9a9ce672b7c21c592c8378dcd5ac3e5a9f0bf574 @hakimel committed Dec 2, 2013
Showing with 28 additions and 13 deletions.
  1. +28 −13 plugin/markdown/example.html
View
41 plugin/markdown/example.html
@@ -68,20 +68,35 @@
</script>
</section>
+ <!-- Slide attributes -->
+ <section data-markdown>
+ <script type="text/template">
+ <!-- .slide: data-background="#000000" -->
+ ## Slide attributes
+ </script>
+ </section>
+
+ <!-- Element attributes -->
+ <section data-markdown>
+ <script type="text/template">
+ ## Element attributes
+ - Item 1 <!-- .element: class="fragment" data-fragment-index="2" -->
+ - Item 2 <!-- .element: class="fragment" data-fragment-index="1" -->
+ </script>
+ </section>
+
<!-- Code -->
- <section>
- <section data-markdown>
- <script type="text/template">
- ```php
- public function foo()
- {
- $foo = array(
- 'bar' => 'bar'
- )
- }
- ```
- </script>
- </section>
+ <section data-markdown>
+ <script type="text/template">
+ ```php
+ public function foo()
+ {
+ $foo = array(
+ 'bar' => 'bar'
+ )
+ }
+ ```
+ </script>
</section>
</div>

0 comments on commit 9a9ce67

Please sign in to comment.