aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2013-11-06 08:52:21 -0500
committerHakim El Hattab <hakim.elhattab@gmail.com>2013-11-06 08:52:21 -0500
commit6afec76bf0f5d32da99d98624961df202e7334ff (patch)
tree5ff5998cb3cdd6144785e80719057c8b17a0925d
parent4b0fe47bb6cbbded27666ece92a28ba0af885b13 (diff)
downloadfosdem-2018-presentation-6afec76bf0f5d32da99d98624961df202e7334ff.tar
fosdem-2018-presentation-6afec76bf0f5d32da99d98624961df202e7334ff.tar.gz
readme adjustment
-rw-r--r--README.md34
1 files changed, 13 insertions, 21 deletions
diff --git a/README.md b/README.md
index 3d549f4..fbd06fe 100644
--- a/README.md
+++ b/README.md
@@ -71,6 +71,19 @@ Special syntax is available for adding attributes to Markdown elements. This is
</section>
```
+### Slide Attributes
+
+Special syntax is available for adding attributes to the slide `<section>` elements generated by your Markdown.
+
+```html
+<section data-markdown>
+ <script type="text/template">
+ <!-- slide-attributes: data-background="#ff0000" -->
+ Mardown content
+ </script>
+</section>
+```
+
### Configuration
@@ -352,16 +365,6 @@ Slides are contained within a limited portion of the screen by default to allow
Backgrounds transition using a fade animation by default. This can be changed to a linear sliding transition by passing ```backgroundTransition: 'slide'``` to the ```Reveal.initialize()``` call. Alternatively you can set ```data-background-transition``` on any section with a background to override that specific transition.
-Special syntax is available for adding attributes to Markdown-based generated `<slide>` element.
-
-```html
-<section data-markdown>
- <script type="text/template">
- <!-- slide-attributes: data-background="#ff0000" -->
- Mardown content
- </script>
-</section>
-```
### Parallax Background
@@ -401,17 +404,6 @@ The global presentation transition is set using the ```transition``` config valu
Note that this does not work with the page and cube transitions.
-Special syntax is available for adding attributes to Markdown-based generated `<slide>` element.
-
-```html
-<section data-markdown>
- <script type="text/template">
- <!-- slide-attributes: data-transition="concave" -->
- Mardown content
- </script>
-</section>
-```
-
### Internal links