Skip to content

Instantly share code, notes, and snippets.

@aflp91
Created August 24, 2011 15:52
Show Gist options
  • Save aflp91/1168367 to your computer and use it in GitHub Desktop.
Save aflp91/1168367 to your computer and use it in GitHub Desktop.
Slidy2 template for pandoc
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="pandoc" />
$for(author)$
<meta name="author" content="$author$" />
$endfor$
$if(date)$
<meta name="date" content="$date$" />
$endif$
$if(highlighting-css)$
<title>$if(title-prefix)$$title-prefix$ - $endif$$if(pagetitle)$$pagetitle$$endif$</title>
<style type="text/css">
$highlighting-css$
</style>
$endif$
$for(css)$
<link rel="stylesheet" media="screen, projection, print" href="$css$" type="text/css" />
$endfor$
$if(slidy-css)$
<style type="text/css">
$slidy-css$
</style>
$else$
<link rel="stylesheet" type="text/css" media="screen, projection, print"
href="http://www.w3.org/Talks/Tools/Slidy2/styles/slidy.css" />
$endif$
$if(math)$
$math$
$endif$
$for(header-includes)$
$header-includes$
$endfor$
$if(slidy-js)$
<script type="text/javascript" charset="utf-8">
$slidy-js$
</script>
$else$
<script src="http://www.w3.org/Talks/Tools/Slidy2/scripts/slidy.js"
charset="utf-8" type="text/javascript"></script>
$endif$
$if(duration)$
<meta name="duration" content="$duration$" />
$endif$
</head>
<body>
$for(include-before)$
$include-before$
$endfor$
$if(title)$
<div class="slide cover title">
<h1 class="title">$title$</h1>
<p class="author">
$for(author)$$author$$sep$<br/>$endfor$
</p>
$if(date)$
<p class="date">$date$</p>
$endif$
</div>
$endif$
$body$
$for(include-after)$
$include-after$
$endfor$
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment