Skip to content
Snippets Groups Projects
Commit 9a9ce672 authored by Hakim El Hattab's avatar Hakim El Hattab
Browse files

add example of markdown slide and element attributes

parent bc62963c
No related branches found
No related tags found
No related merge requests found
...@@ -68,20 +68,35 @@ ...@@ -68,20 +68,35 @@
</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 public function foo()
public function foo() {
{ $foo = array(
$foo = array( 'bar' => 'bar'
'bar' => 'bar' )
) }
} ```
``` </script>
</script>
</section>
</section> </section>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment