Skip to content

Commit

Permalink
add example of markdown slide and element attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
hakimel committed Dec 2, 2013
1 parent bc62963 commit 9a9ce67
Showing 1 changed file with 28 additions and 13 deletions.
41 changes: 28 additions & 13 deletions plugin/markdown/example.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 9a9ce67

Please sign in to comment.