diff options
author | John MacFarlane <jgm@berkeley.edu> | 2013-03-23 21:29:40 -0400 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2013-03-23 21:45:31 -0400 |
commit | 1bf5dd6a2bf20428adf23fd35a62d4c96626f1e8 (patch) | |
tree | 8975c812df963c16a1b3f41a3f890b8e24ee2444 | |
parent | caf5242b30c288528b63c6b9025f4388ea8297d8 (diff) | |
download | pandoc-1bf5dd6a2bf20428adf23fd35a62d4c96626f1e8.tar.gz |
New version of default.revealjs.
Also note rename: .reveal_js -> .revealjs.
-rw-r--r-- | default.reveal_js | 103 | ||||
-rw-r--r-- | default.revealjs | 101 |
2 files changed, 101 insertions, 103 deletions
diff --git a/default.reveal_js b/default.reveal_js deleted file mode 100644 index e67c93914..000000000 --- a/default.reveal_js +++ /dev/null @@ -1,103 +0,0 @@ -<!DOCTYPE html> -<html$if(lang)$ lang="$lang$"$endif$> -<head> - <meta charset="utf-8"> -$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="$reveal_js-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="$reveal_js-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="$reveal_js-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="$reveal_js-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$ - -$body$ - </div> - </div> -$for(include-after)$ -$include-after$ -$endfor$ - - <script src="$reveal_js-url$/lib/js/head.min.js"></script> - <script src="$reveal_js-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, -$if(duration)$ - autoSlide: $duration$, -$else$ - autoSlide: 0, -$endif$ - theme: '$if(reveal_js-theme)$$reveal_js-theme$$endif$', // available themes are in /css/theme - transition: '$if(reveal_js-transition)$$reveal_js-transition$$endif$', // default/cube/page/concave/zoom/linear/fade/none - - // Optional libraries used to extend on reveal.js - dependencies: [ - { src: '$reveal_js-url$/lib/js/classList.js', condition: function() { return !document.body.classList; } }, -// { src: '$reveal_js-url$/plugin/markdown/showdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } }, -// { src: '$reveal_js-url$/plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } }, -// { src: '$reveal_js-url$/plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } }, - { src: '$reveal_js-url$/plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } }, - { src: '$reveal_js-url$/plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } } - // { src: '$reveal_js-url$/plugin/search/search.js', async: true, condition: function() { return !!document.body.classList; } } - // { src: '$reveal_js-url$/plugin/remotes/remotes.js', async: true, condition: function() { return !!document.body.classList; } } - ] - }); - </script> - </body> -</html> 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> |