aboutsummaryrefslogtreecommitdiff
path: root/default.revealjs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2013-03-23 21:29:40 -0400
committerJohn MacFarlane <jgm@berkeley.edu>2013-03-23 21:45:31 -0400
commit1bf5dd6a2bf20428adf23fd35a62d4c96626f1e8 (patch)
tree8975c812df963c16a1b3f41a3f890b8e24ee2444 /default.revealjs
parentcaf5242b30c288528b63c6b9025f4388ea8297d8 (diff)
downloadpandoc-1bf5dd6a2bf20428adf23fd35a62d4c96626f1e8.tar.gz
New version of default.revealjs.
Also note rename: .reveal_js -> .revealjs.
Diffstat (limited to 'default.revealjs')
-rw-r--r--default.revealjs101
1 files changed, 101 insertions, 0 deletions
diff --git a/default.revealjs b/default.revealjs
new file mode 100644
index 000000000..f287abec3
--- /dev/null
+++ b/default.revealjs
@@ -0,0 +1,101 @@
+<!DOCTYPE html>
+<html$if(lang)$ lang="$lang$"$endif$>
+<head>
+ <meta charset="utf-8">
+ <meta name="generator" content="pandoc">
+$for(author-meta)$
+ <meta name="author" content="$author-meta$" />
+$endfor$
+$if(date-meta)$
+ <meta name="dcterms.date" content="$date-meta$" />
+$endif$
+ <title>$if(title-prefix)$$title-prefix$ - $endif$$pagetitle$</title>
+ <meta name="apple-mobile-web-app-capable" content="yes" />
+ <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
+ <link rel="stylesheet" href="$revealjs-url$/css/reveal.min.css"/>
+ <style type="text/css">code{white-space: pre;}</style>
+$if(highlighting-css)$
+ <style type="text/css">
+$highlighting-css$
+ </style>
+$endif$
+$if(css)$
+$for(css)$
+ <link rel="stylesheet" href="$css$"/>
+$endfor$
+$else$
+ <link rel="stylesheet" href="$revealjs-url$/css/theme/simple.css" id="theme">
+$endif$
+ <!-- If the query includes 'print-pdf', use the PDF print sheet -->
+ <script>
+ document.write( '<link rel="stylesheet" href="$revealjs-url$/css/print/' +
+ ( window.location.search.match( /print-pdf/gi ) ? 'pdf' : 'paper' ) +
+ '.css" type="text/css" media="print">' );
+ </script>
+ <!--[if lt IE 9]>
+ <script src="$revealjs-url$/lib/js/html5shiv.js"></script>
+ <![endif]-->
+$if(math)$
+ $math$
+$endif$
+$for(header-includes)$
+ $header-includes$
+$endfor$
+</head>
+<body>
+$for(include-before)$
+$include-before$
+$endfor$
+ <div class="reveal">
+ <div class="slides">
+
+$if(title)$
+<section>
+ <h1 class="title">$title$</h1>
+$for(author)$
+ <h2 class="author">$author$</h2>
+$endfor$
+ <h3 class="date">$date$</h3>
+</section>
+$endif$
+$if(toc)$
+<section id="$idprefix$TOC">
+$toc$
+</section>
+$endif$
+
+$body$
+ </div>
+ </div>
+$for(include-after)$
+$include-after$
+$endfor$
+
+ <script src="$revealjs-url$/lib/js/head.min.js"></script>
+ <script src="$revealjs-url$/js/reveal.min.js"></script>
+
+ <script>
+
+ // Full list of configuration options available here:
+ // https://github.com/hakimel/reveal.js#configuration
+ Reveal.initialize({
+ controls: true,
+ 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
+
+ // 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; } }
+]});
+ </script>
+ </body>
+</html>