aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'index.html')
-rw-r--r--index.html28
1 files changed, 23 insertions, 5 deletions
diff --git a/index.html b/index.html
index a68dd6a..68c5e4f 100644
--- a/index.html
+++ b/index.html
@@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
- <title>reveal.js</title>
+ <title>reveal.js - HTML5 Presentations</title>
<meta name="description" content="An easy to use CSS 3D slideshow tool for quickly creating good looking HTML presentations.">
<meta name="author" content="Hakim El Hattab">
@@ -18,7 +18,7 @@
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/print.css" type="text/css" media="print">
- <link rel="stylesheet" href="lib/zenburn.css">
+ <link rel="stylesheet" href="lib/highlight/zenburn.css">
</head>
<body>
@@ -48,6 +48,10 @@
<p>
<i><small>- <a href="http://hakim.se">Hakim El Hattab</a> / <a href="http://twitter.com/hakimel">@hakimel</a></small></i>
</p>
+
+ <aside class="notes">
+ Oh hey, these are some notes. They'll be hidden in your presentation, but you can see them if you run the speaker notes server.
+ </aside>
</section>
<!-- Example of nested vertical slides -->
@@ -260,14 +264,15 @@ linkify( 'a' );
</div>
<!-- Optional libraries for code syntax highlighting and classList support in IE9 -->
- <script src="lib/highlight.js"></script>
- <script src="lib/classList.js"></script>
+ <script src="lib/highlight/highlight.js"></script>
+ <script src="lib/polyfills/classList.js"></script>
<script src="js/reveal.js"></script>
<script>
// Parse the query string into a key/value object
var query = {};
+
location.search.replace( /[A-Z0-9]+?=(\w*)/gi, function(a) {
query[ a.split( '=' ).shift() ] = a.split( '=' ).pop();
} );
@@ -308,8 +313,21 @@ linkify( 'a' );
transition: query.transition || 'default' // default/cube/page/concave/linear(2d)
});
+ // Fire off syntax highlighting for potential code samples in the slides
hljs.initHighlightingOnLoad();
- </script>
+ // If we're runnning the notes node server we need to include some
+ // additional JS
+ if( window.location.host === 'localhost:1947' ) {
+ var notes_socket = document.createElement( 'script' );
+ notes_socket.setAttribute( 'src', 'socket.io/socket.io.js' );
+ document.body.appendChild( notes_socket );
+
+ var notes_client = document.createElement( 'script' );
+ notes_client.setAttribute( 'src', 'lib/slidenotes/client.js' );
+ document.body.appendChild( notes_client );
+ }
+ </script>
+
</body>
</html> \ No newline at end of file