add example of markdown slide and element attributes

edit
Hakim El Hattab 2013-12-02 12:20:48 +01:00
parent bc62963c8f
commit 9a9ce672b7
1 changed files with 28 additions and 13 deletions

View File

@ -68,8 +68,24 @@
</script> </script>
</section> </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 --> <!-- Code -->
<section>
<section data-markdown> <section data-markdown>
<script type="text/template"> <script type="text/template">
```php ```php
@ -82,7 +98,6 @@
``` ```
</script> </script>
</section> </section>
</section>
</div> </div>
</div> </div>