aboutsummaryrefslogtreecommitdiff
path: root/plugin/markdown/example.html
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2013-12-02 12:20:48 +0100
committerHakim El Hattab <hakim.elhattab@gmail.com>2013-12-02 12:20:48 +0100
commit9a9ce672b7c21c592c8378dcd5ac3e5a9f0bf574 (patch)
treecf905e09797573c0bf5af7c12c91fd384f5c9c6b /plugin/markdown/example.html
parentbc62963c8fbf893ba41caad52a73e8ab58e3148d (diff)
downloadfosdem-2018-presentation-9a9ce672b7c21c592c8378dcd5ac3e5a9f0bf574.tar
fosdem-2018-presentation-9a9ce672b7c21c592c8378dcd5ac3e5a9f0bf574.tar.gz
add example of markdown slide and element attributes
Diffstat (limited to 'plugin/markdown/example.html')
-rw-r--r--plugin/markdown/example.html41
1 files changed, 28 insertions, 13 deletions
diff --git a/plugin/markdown/example.html b/plugin/markdown/example.html
index 522d8ac..909639f 100644
--- a/plugin/markdown/example.html
+++ b/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>