diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2013-03-24 19:57:13 -0700 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2013-03-24 19:57:13 -0700 |
commit | 118f79db5a8709f40ae07f5c6cee803f26d6a663 (patch) | |
tree | 8cd21d20ba6f433f3e9fc3279fc5aed23921fcf8 /default.revealjs | |
parent | 1bf5dd6a2bf20428adf23fd35a62d4c96626f1e8 (diff) | |
download | pandoc-118f79db5a8709f40ae07f5c6cee803f26d6a663.tar.gz |
revealjs template - include pdf css stylesheet by default.
Diffstat (limited to 'default.revealjs')
-rw-r--r-- | default.revealjs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/default.revealjs b/default.revealjs index f287abec3..f5f67f182 100644 --- a/default.revealjs +++ b/default.revealjs @@ -27,12 +27,7 @@ $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> + <link rel="stylesheet" media="print" href="$revealjs-url$/css/print/pdf.css" /> <!--[if lt IE 9]> <script src="$revealjs-url$/lib/js/html5shiv.js"></script> <![endif]--> |