From efbb31cf295e9abcaed7a117a81ccb1a7f38e56e Mon Sep 17 00:00:00 2001 From: VonC Date: Tue, 29 Oct 2013 14:36:35 +0100 Subject: [PATCH] Add mardown-based slide attribute examples. --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index 6963acb..3d549f4 100644 --- a/README.md +++ b/README.md @@ -352,6 +352,17 @@ 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 `` element. + +```html +
+ +
+``` + ### Parallax Background If you want to use a parallax scrolling background, set the two following config properties when initializing reveal.js (the third one is optional). @@ -390,6 +401,17 @@ 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 `` element. + +```html +
+ +
+``` + ### Internal links