Browse Source

add dependencies and printing

pull/1/head
Cian Butler 5 years ago
parent
commit
dc57048281
1 changed files with 27 additions and 5 deletions
  1. +27
    -5
      slides/template.html

+ 27
- 5
slides/template.html View File

@@ -1,7 +1,19 @@
<html>
<head>
<meta charset="utf-8">
<title>Template</title>
<link rel="stylesheet" href="../node_modules/reveal.js/css/reveal.css">
<link rel="stylesheet" href="../dist/redbrick.css">
<!-- Theme used for syntax highlighting of code -->
<link rel="stylesheet" href="../node_modules/reveal.js/lib/css/zenburn.css">
<!-- Printing and PDF exports -->
<script>
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match( /print-pdf/gi ) ? '../node_modules/reveal.js/css/print/pdf.css' : '../node_modules/reveal.js/css/print/paper.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
</script>
</head>
<body data-bg-text="Pictures are being taken to be used on social media">
<div class="reveal">
@@ -16,10 +28,20 @@
</div>
</div>
<script src="../node_modules/reveal.js/js/reveal.js"></script>
<script type="text/javascript" src="//use.typekit.net/nts0xzw.js"></script>
<script> Reveal.initialize({
controls: false,
mouseWheel: true,
});</script>
<script src="../node_modules/reveal.js/lib/js/head.min.js"></script>
<script>
Reveal.initialize({
controls: false,
mouseWheel: true,
dependencies: [
{ src: '../node_modules/reveal.js/lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: '../node_modules/reveal.js/plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: '../node_modules/reveal.js/plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: '../node_modules/reveal.js/plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: '../node_modules/reveal.js/plugin/zoom-js/zoom.js', async: true },
{ src: '../node_modules/reveal.js/plugin/notes/notes.js', async: true }
]
});
</script>
</body>
</html>

Loading…
Cancel
Save