From 1bf5dd6a2bf20428adf23fd35a62d4c96626f1e8 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 23 Mar 2013 21:29:40 -0400 Subject: New version of default.revealjs. Also note rename: .reveal_js -> .revealjs. --- default.revealjs | 101 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 default.revealjs (limited to 'default.revealjs') diff --git a/default.revealjs b/default.revealjs new file mode 100644 index 000000000..f287abec3 --- /dev/null +++ b/default.revealjs @@ -0,0 +1,101 @@ + + + + + +$for(author-meta)$ + +$endfor$ +$if(date-meta)$ + +$endif$ + $if(title-prefix)$$title-prefix$ - $endif$$pagetitle$ + + + + + +$if(highlighting-css)$ + +$endif$ +$if(css)$ +$for(css)$ + +$endfor$ +$else$ + +$endif$ + + + +$if(math)$ + $math$ +$endif$ +$for(header-includes)$ + $header-includes$ +$endfor$ + + +$for(include-before)$ +$include-before$ +$endfor$ +
+
+ +$if(title)$ +
+

$title$

+$for(author)$ +

$author$

+$endfor$ +

$date$

+
+$endif$ +$if(toc)$ +
+$toc$ +
+$endif$ + +$body$ +
+
+$for(include-after)$ +$include-after$ +$endfor$ + + + + + + + -- cgit v1.2.3 From 118f79db5a8709f40ae07f5c6cee803f26d6a663 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 24 Mar 2013 19:57:13 -0700 Subject: revealjs template - include pdf css stylesheet by default. --- default.revealjs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'default.revealjs') diff --git a/default.revealjs b/default.revealjs index f287abec3..f5f67f182 100644 --- a/default.revealjs +++ b/default.revealjs @@ -27,12 +27,7 @@ $endfor$ $else$ $endif$ - - + -- cgit v1.2.3 From 4696679283b08559108e5c02ca4cdbfd203cca9e Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 30 Apr 2013 17:33:17 -0700 Subject: revealjs template: use remotes by default, set defaults from query hash. --- default.revealjs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'default.revealjs') 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; } } ]}); -- cgit v1.2.3 From fd59e11e15d0dc5a7187bba79f1a5adf294a1c35 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 1 May 2013 12:45:12 -0700 Subject: Fixed errors introduced in last revealjs template update. --- default.revealjs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'default.revealjs') diff --git a/default.revealjs b/default.revealjs index f0f16fcac..7233e202a 100644 --- a/default.revealjs +++ b/default.revealjs @@ -79,8 +79,8 @@ $endfor$ progress: true, history: true, center: true, - 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 + theme: $if(theme)$'$theme$'$else$Reveal.getQueryHash().theme$endif$, // available themes are in /css/theme + transition: $if(transition)$'$transition$'$else$Reveal.getQueryHash().transition || 'default'$endif$, // default/cube/page/concave/zoom/linear/fade/none // Optional libraries used to extend on reveal.js dependencies: [ @@ -88,7 +88,7 @@ $endfor$ { 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/remotes/remotes.js', async: true, condition: function() { return !!document.body.classList; } } ]}); -- cgit v1.2.3 From 64544dea58cc6fd50aacd8d13e019198fa7647d1 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 21 Jun 2013 22:48:49 -0700 Subject: Added subtitle to html and latex formats. --- default.beamer | 3 +++ default.dzslides | 3 +++ default.epub | 3 +++ default.epub3 | 3 +++ default.html | 3 +++ default.html5 | 3 +++ default.latex | 3 +++ default.revealjs | 3 +++ default.s5 | 3 +++ default.slideous | 3 +++ default.slidy | 3 +++ 11 files changed, 33 insertions(+) (limited to 'default.revealjs') diff --git a/default.beamer b/default.beamer index 5455cf804..63dfdae5e 100644 --- a/default.beamer +++ b/default.beamer @@ -113,6 +113,9 @@ $endfor$ $if(title)$ \title{$title$} $endif$ +$if(subtitle)$ +\subtitle{$subtitle$} +$endif$ $if(author)$ \author{$for(author)$$author$$sep$ \and $endfor$} $endif$ diff --git a/default.dzslides b/default.dzslides index edd97accf..c68492141 100644 --- a/default.dzslides +++ b/default.dzslides @@ -102,6 +102,9 @@ $endfor$ $if(title)$

$title$

+$if(subtitle)$ +

$subtitle$

+$endif$ $for(author)$

$author$

$endfor$ diff --git a/default.epub b/default.epub index 5e849d784..4b51f441c 100644 --- a/default.epub +++ b/default.epub @@ -18,6 +18,9 @@ $endfor$ $if(titlepage)$

$title$

+$if(subtitle)$ +

$subtitle$

+$endif$ $for(author)$

$author$

$endfor$ diff --git a/default.epub3 b/default.epub3 index ba7516052..ccd34ba85 100644 --- a/default.epub3 +++ b/default.epub3 @@ -22,6 +22,9 @@ $endfor$ $if(titlepage)$

$title$

+$if(subtitle)$ +

$subtitle$

+$endif$ $for(author)$

$author$

$endfor$ diff --git a/default.html b/default.html index b7b74c223..1bbeda47a 100644 --- a/default.html +++ b/default.html @@ -37,6 +37,9 @@ $endfor$ $if(title)$

$title$

+$if(subtitle)$ +

$subtitle$

+$endif$ $for(author)$

$author$

$endfor$ diff --git a/default.html5 b/default.html5 index 720b2fc62..365ad0681 100644 --- a/default.html5 +++ b/default.html5 @@ -39,6 +39,9 @@ $endfor$ $if(title)$

$title$

+$if(subtitle)$ +

$subtitle$

+$endif$ $for(author)$

$author$

$endfor$ diff --git a/default.latex b/default.latex index 5ef9170a9..2d4f17d6c 100644 --- a/default.latex +++ b/default.latex @@ -135,6 +135,9 @@ $endfor$ $if(title)$ \title{$title$} $endif$ +$if(subtitle)$ +\subtitle{$subtitle$} +$endif$ \author{$for(author)$$author$$sep$ \and $endfor$} \date{$date$} diff --git a/default.revealjs b/default.revealjs index 7233e202a..4b90071b3 100644 --- a/default.revealjs +++ b/default.revealjs @@ -48,6 +48,9 @@ $endfor$ $if(title)$

$title$

+$if(subtitle)$ +

$subtitle$

+$endif$ $for(author)$

$author$

$endfor$ diff --git a/default.s5 b/default.s5 index 532c164cf..0dbe35d1f 100644 --- a/default.s5 +++ b/default.s5 @@ -54,6 +54,9 @@ $endfor$ $if(title)$

$title$

+$if(subtitle)$ +

$subtitle$

+$endif$

$for(author)$$author$$sep$
$endfor$

$date$

diff --git a/default.slideous b/default.slideous index db16a9693..c051508bf 100644 --- a/default.slideous +++ b/default.slideous @@ -60,6 +60,9 @@ $endfor$ $if(title)$

$title$

+$if(subtitle)$ +

$subtitle$

+$endif$

$for(author)$$author$$sep$
$endfor$

diff --git a/default.slidy b/default.slidy index b9fa79d85..50231ba6e 100644 --- a/default.slidy +++ b/default.slidy @@ -44,6 +44,9 @@ $endfor$ $if(title)$

$title$

+$if(subtitle)$ +

$subtitle$

+$endif$

$for(author)$$author$$sep$
$endfor$

-- cgit v1.2.3 From cf4e5f4520fa714fdd574478e918bfc68b3e0861 Mon Sep 17 00:00:00 2001 From: Alexander Belyaev Date: Wed, 12 Feb 2014 01:59:25 +0400 Subject: Moved $include-after$ to the closing See https://groups.google.com/forum/#!topic/pandoc-discuss/Fbfh8IIcVds --- default.revealjs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'default.revealjs') diff --git a/default.revealjs b/default.revealjs index 4b90071b3..51962e30d 100644 --- a/default.revealjs +++ b/default.revealjs @@ -66,9 +66,7 @@ $endif$ $body$
-$for(include-after)$ -$include-after$ -$endfor$ + @@ -94,5 +92,8 @@ $endfor$ // { src: '$revealjs-url$/plugin/remotes/remotes.js', async: true, condition: function() { return !!document.body.classList; } } ]}); + $for(include-after)$ + $include-after$ + $endfor$ -- cgit v1.2.3 From 79806d4417d02646158dcbdcc3686255098c9e3f Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 5 Apr 2014 15:23:36 -0700 Subject: reveal.js template: Fix PDF print function. See pandoc issue #1220. --- default.revealjs | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'default.revealjs') diff --git a/default.revealjs b/default.revealjs index 51962e30d..69bccac8d 100644 --- a/default.revealjs +++ b/default.revealjs @@ -27,10 +27,19 @@ $endfor$ $else$ $endif$ - - + + + $if(math)$ $math$ $endif$ -- cgit v1.2.3 From 8fd90a51ffcebb8ca024377ed6feff1be21ff715 Mon Sep 17 00:00:00 2001 From: Eoin Travers Date: Mon, 19 Jan 2015 21:37:44 +0000 Subject: Link to non-minified reveal.js JS and CSS files `reveal.js` no longer ships with /css/reveal.min.css or /js/reveal.min.js, so template should refer to non-minified original files. --- default.revealjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'default.revealjs') diff --git a/default.revealjs b/default.revealjs index 69bccac8d..f08f64791 100644 --- a/default.revealjs +++ b/default.revealjs @@ -13,7 +13,7 @@ $endif$ - + $if(highlighting-css)$ $endif$ -$if(css)$ $for(css)$ $endfor$ -$else$ - -$endif$ $if(theme)$ $else$ -- cgit v1.2.3 From 7bdcb5e43d3b70f20e53f7a8c29ae395b02577de Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 16 Feb 2015 19:57:17 -0800 Subject: Fixed some cosmetic spacing issues in reveal.js template. --- default.revealjs | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'default.revealjs') diff --git a/default.revealjs b/default.revealjs index 0f2898fd8..c26837928 100644 --- a/default.revealjs +++ b/default.revealjs @@ -14,38 +14,38 @@ $endif$ - + $if(highlighting-css)$ - + $endif$ $for(css)$ - + $endfor$ $if(theme)$ - + $else$ - + $endif$ - - - + + + $if(math)$ - $math$ + $math$ $endif$ $for(header-includes)$ - $header-includes$ + $header-includes$ $endfor$ -- cgit v1.2.3 From f51a985b211cab0af4fbb5a0b208ec0c60382644 Mon Sep 17 00:00:00 2001 From: Dmitry Smirnov Date: Tue, 31 Mar 2015 19:40:38 +1100 Subject: reveal.js: add new configurable options and comments: * Made option "center" configurable. * Added new options "maxScale" and "slideNumber". * Added comments to existing options. Signed-off-by: Dmitry Smirnov --- default.revealjs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'default.revealjs') diff --git a/default.revealjs b/default.revealjs index c26837928..7e2a3b30e 100644 --- a/default.revealjs +++ b/default.revealjs @@ -86,10 +86,12 @@ $body$ // Full list of configuration options available here: // https://github.com/hakimel/reveal.js#configuration Reveal.initialize({ - controls: true, - progress: true, - history: true, - center: true, + controls: true, // Display controls in the bottom right corner + progress: true, // Display a presentation progress bar + history: true, // Push each slide change to the browser history + center: $if(center)$$center$$else$true$endif$, // Vertical centering of slides + maxScale: $if(maxScale)$$maxScale$$else$1.5$endif$, // Bounds for smallest/largest possible content scale + slideNumber: $if(slideNumber)$true$else$false$endif$, // Display the page number of the current slide theme: $if(theme)$'$theme$'$else$Reveal.getQueryHash().theme$endif$, // available themes are in /css/theme transition: $if(transition)$'$transition$'$else$Reveal.getQueryHash().transition || 'default'$endif$, // default/cube/page/concave/zoom/linear/fade/none -- cgit v1.2.3 From c3aa395c715e7d7e2e79b3f37078ef84a2f69172 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 7 Apr 2015 20:31:00 -0700 Subject: reveal.js template: move custom css after theme. This allows custom css to modify themes, instead of being replaced by themes. Closes #91. --- default.revealjs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'default.revealjs') diff --git a/default.revealjs b/default.revealjs index 7e2a3b30e..c3fd3532f 100644 --- a/default.revealjs +++ b/default.revealjs @@ -20,14 +20,14 @@ $if(highlighting-css)$ $highlighting-css$ $endif$ -$for(css)$ - -$endfor$ $if(theme)$ $else$ $endif$ +$for(css)$ + +$endfor$ +$if(quotes)$ + +$endif$ $if(highlighting-css)$ +$if(quotes)$ + +$endif$ $if(highlighting-css)$ +$if(quotes)$ + +$endif$ $if(highlighting-css)$