diff options
author | John MacFarlane <jgm@berkeley.edu> | 2013-04-30 17:33:17 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2013-04-30 17:33:17 -0700 |
commit | 4696679283b08559108e5c02ca4cdbfd203cca9e (patch) | |
tree | fb1597ad7b15a1de02cc03d9d11bd1e9c1f38776 /default.revealjs | |
parent | 6836e16da2448885c80008b03fdeb646c6ea3035 (diff) | |
download | pandoc-4696679283b08559108e5c02ca4cdbfd203cca9e.tar.gz |
revealjs template: use remotes by default, set defaults from query hash.
Diffstat (limited to 'default.revealjs')
-rw-r--r-- | default.revealjs | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/default.revealjs b/default.revealjs index f5f67f182..f0f16fcac 100644 --- a/default.revealjs +++ b/default.revealjs @@ -79,17 +79,16 @@ $endfor$ progress: true, history: true, center: true, - autoSlide: $if(duration)$$duration$$else$0$endif$, - theme: '$if(theme)$$theme$$else$default$endif$', // available themes are in /css/theme - transition: '$if(transition)$$transition$$else$default$endif$', // default/cube/page/concave/zoom/linear/fade/none + theme: '$if(theme)$$theme$$else$Reveal.getQueryHash().theme$endif$', // available themes are in /css/theme + transition: '$if(transition)$$transition$$else$Reveal.getQueryHash().transition$endif$', // default/cube/page/concave/zoom/linear/fade/none // Optional libraries used to extend on reveal.js dependencies: [ { src: '$revealjs-url$/lib/js/classList.js', condition: function() { return !document.body.classList; } }, { src: '$revealjs-url$/plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } }, -// { src: '$revealjs-url$/plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } }, -// { src: '$revealjs-url$/plugin/search/search.js', async: true, condition: function() { return !!document.body.classList; }, } -// { src: '$revealjs-url$/plugin/remotes/remotes.js', async: true, condition: function() { return !!document.body.classList; } } + { src: '$revealjs-url$/plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } }, +// { src: '$revealjs-url$/plugin/search/search.js', async: true, condition: function() { return !!document.body.classList; }, } + { src: '$revealjs-url$/plugin/remotes/remotes.js', async: true, condition: function() { return !!document.body.classList; } } ]}); </script> </body> |