com presentations: Regenerate for Reveal 3.0 and Highlightjs 8.4: br14.html festmx.html joburg14.html mongo-osm-confoo14.html mx14.html nz14.html phpday14.html phptour14.html sunshinephp14.html wepay14.html
[email protected] (Rasmus Lerdorf)
| Newsgroups | php.pres |
|---|---|
| Message-ID | <[email protected]> |
Commit: 84dba2835fd17c4b57ee197901a8e353185b114d Author: Rasmus Lerdorf <[email protected]> Fri, 23 Jan 2015 01:12:04 -0800 Parents: 16468c4e6d30c4ec653d00ace07873f82aebb86d Branches: master Link: http://git.php.net/?p=presentations.git;a=commitdiff;h=84dba2835fd17c4b57ee197901a8e353185b114d Log: Regenerate for Reveal 3.0 and Highlightjs 8.4 Changed paths: M br14.html M festmx.html M joburg14.html M mongo-osm-confoo14.html M mx14.html M nz14.html M phpday14.html M phptour14.html M sunshinephp14.html M wepay14.html
diff_84dba2835fd17c4b57ee197901a8e353185b114d.txt
(text/plain, 24.8 KB)
diff --git a/br14.html b/br14.html
index eb31bc6..e200dad 100644
--- a/br14.html
+++ b/br14.html
@@ -18,8 +18,32 @@
<link rel="stylesheet" href="/reveal.js/css/theme/white.css" id="theme">
<!-- For syntax highlighting -->
- <link rel="stylesheet" href="/reveal.js/lib/css/zenburn.css">
-
+ <link rel="stylesheet" href="/styles/xcode.css">
+
+ <!-- Override a few styles -->
+ <style>
+ /* Not actually sure why this isn't being picked up from the syntax highlight css */
+ .reveal pre code {
+ display: block;
+ overflow-x: auto;
+ padding: 0.5em;
+ background: #fff;
+ color: black;
+ -webkit-text-size-adjust: none;
+ }
+ /* Left-align h3 and h4 if they are p elements */
+ h3.p {
+ text-align: left;
+ }
+ h4.p {
+ text-align: left;
+ }
+ /* and left-aligned but slightly indened bullet lists */
+ .reveal ul {
+ display: block;
+ margin: 0 0 1em 3em;
+ }
+ </style>
<!-- Printing and PDF exports -->
<script>
var link = document.createElement( 'link' );
@@ -52,7 +76,7 @@
</section>
<section>
<h2 margin-bottom="2em">1993</h2><br>
- <pre><code class="C">#include <stdio.h>
+ <pre><code class="cpp">#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
@@ -271,7 +295,7 @@ array_key_exists($needle, $haystack);
strchr($haystack, $needle);</code></pre>
</section>
<section>
- <h2>2014</h2>
+ <h1>2014</h1>
</section>
<section>
<section id="performance">
@@ -558,9 +582,9 @@ $foo()()
// Optional reveal.js plugins
dependencies: [
{ src: '/reveal.js/lib/js/classList.js', condition: function() { return !document.body.classList; } },
+ { src: '/highlight.min.js', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: '/reveal.js/plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: '/reveal.js/plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
- { src: '/reveal.js/plugin/highlight/highlight.js', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: '/reveal.js/plugin/zoom-js/zoom.js', async: true },
{ src: '/reveal.js/plugin/notes/notes.js', async: true }
]
diff --git a/festmx.html b/festmx.html
index ee4109a..cd45e3c 100644
--- a/festmx.html
+++ b/festmx.html
@@ -17,8 +17,36 @@
<link rel="stylesheet" href="/reveal.js/css/reveal.css">
<link rel="stylesheet" href="/reveal.js/css/theme/white.css" id="theme">
- <!-- For syntax highlighting -->
- <link rel="stylesheet" href="/reveal.js/lib/css/zenburn.css">
+ <!-- For syntax highlighting - note that these are not the generic highlight.js theme files - see https://github.com/nwinkler/reveal-highlight-themes -->
+ <link rel="stylesheet" href="/styles/xcode.css">
+
+ <!-- Override a few styles -->
+ <style>
+ /*
+ Not actually sure why this block isn't being picked up from the syntax highlight css
+ If you change the syntax highlight theme, copy the first block here
+ */
+ .reveal pre code {
+ display: block;
+ overflow-x: auto;
+ padding: 0.5em;
+ background: #fff;
+ color: black;
+ -webkit-text-size-adjust: none;
+ }
+ /* Left-align h3 and h4 if they are p elements */
+ h3.p {
+ text-align: left;
+ }
+ h4.p {
+ text-align: left;
+ }
+ /* and left-aligned but slightly indented bullet lists */
+ .reveal ul {
+ display: block;
+ margin: 0 0 1em 3em;
+ }
+ </style>
<!-- Printing and PDF exports -->
<script>
@@ -202,7 +230,7 @@ array_key_exists($needle, $haystack);
strchr($haystack, $needle);</code></pre>
</section>
<section>
- <h2>2014</h2>
+ <h1>2014</h1>
</section>
<section>
<section id="performance">
@@ -460,7 +488,7 @@ footer();</code></pre>
{ src: '/reveal.js/lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: '/reveal.js/plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: '/reveal.js/plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
- { src: '/reveal.js/plugin/highlight/highlight.js', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
+ { src: '/highlight.min.js', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: '/reveal.js/plugin/zoom-js/zoom.js', async: true },
{ src: '/reveal.js/plugin/notes/notes.js', async: true }
]
diff --git a/joburg14.html b/joburg14.html
index b5bfa05..c6c5d1d 100644
--- a/joburg14.html
+++ b/joburg14.html
@@ -17,8 +17,36 @@
<link rel="stylesheet" href="/reveal.js/css/reveal.css">
<link rel="stylesheet" href="/reveal.js/css/theme/white.css" id="theme">
- <!-- For syntax highlighting -->
- <link rel="stylesheet" href="/reveal.js/lib/css/zenburn.css">
+ <!-- For syntax highlighting - note that these are not the generic highlight.js theme files - see https://github.com/nwinkler/reveal-highlight-themes -->
+ <link rel="stylesheet" href="/styles/xcode.css">
+
+ <!-- Override a few styles -->
+ <style>
+ /*
+ Not actually sure why this block isn't being picked up from the syntax highlight css
+ If you change the syntax highlight theme, copy the first block here
+ */
+ .reveal pre code {
+ display: block;
+ overflow-x: auto;
+ padding: 0.5em;
+ background: #fff;
+ color: black;
+ -webkit-text-size-adjust: none;
+ }
+ /* Left-align h3 and h4 if they are p elements */
+ h3.p {
+ text-align: left;
+ }
+ h4.p {
+ text-align: left;
+ }
+ /* and left-aligned but slightly indented bullet lists */
+ .reveal ul {
+ display: block;
+ margin: 0 0 1em 3em;
+ }
+ </style>
<!-- Printing and PDF exports -->
<script>
@@ -202,7 +230,7 @@ array_key_exists($needle, $haystack);
strchr($haystack, $needle);</code></pre>
</section>
<section>
- <h2>2014</h2>
+ <h1>2014</h1>
</section>
<section>
<section id="performance">
@@ -460,7 +488,7 @@ footer();</code></pre>
{ src: '/reveal.js/lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: '/reveal.js/plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: '/reveal.js/plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
- { src: '/reveal.js/plugin/highlight/highlight.js', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
+ { src: '/highlight.min.js', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: '/reveal.js/plugin/zoom-js/zoom.js', async: true },
{ src: '/reveal.js/plugin/notes/notes.js', async: true }
]
diff --git a/mongo-osm-confoo14.html b/mongo-osm-confoo14.html
index 9f487e3..fbf52b9 100644
--- a/mongo-osm-confoo14.html
+++ b/mongo-osm-confoo14.html
@@ -17,8 +17,36 @@
<link rel="stylesheet" href="/reveal.js/css/reveal.css">
<link rel="stylesheet" href="/reveal.js/css/theme/white.css" id="theme">
- <!-- For syntax highlighting -->
- <link rel="stylesheet" href="/reveal.js/lib/css/zenburn.css">
+ <!-- For syntax highlighting - note that these are not the generic highlight.js theme files - see https://github.com/nwinkler/reveal-highlight-themes -->
+ <link rel="stylesheet" href="/styles/xcode.css">
+
+ <!-- Override a few styles -->
+ <style>
+ /*
+ Not actually sure why this block isn't being picked up from the syntax highlight css
+ If you change the syntax highlight theme, copy the first block here
+ */
+ .reveal pre code {
+ display: block;
+ overflow-x: auto;
+ padding: 0.5em;
+ background: #fff;
+ color: black;
+ -webkit-text-size-adjust: none;
+ }
+ /* Left-align h3 and h4 if they are p elements */
+ h3.p {
+ text-align: left;
+ }
+ h4.p {
+ text-align: left;
+ }
+ /* and left-aligned but slightly indented bullet lists */
+ .reveal ul {
+ display: block;
+ margin: 0 0 1em 3em;
+ }
+ </style>
<!-- Printing and PDF exports -->
<script>
@@ -397,7 +425,7 @@ db.poiConcat.find( {
{ src: '/reveal.js/lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: '/reveal.js/plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: '/reveal.js/plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
- { src: '/reveal.js/plugin/highlight/highlight.js', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
+ { src: '/highlight.min.js', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: '/reveal.js/plugin/zoom-js/zoom.js', async: true },
{ src: '/reveal.js/plugin/notes/notes.js', async: true }
]
diff --git a/mx14.html b/mx14.html
index b44654f..2fe2070 100644
--- a/mx14.html
+++ b/mx14.html
@@ -17,8 +17,36 @@
<link rel="stylesheet" href="/reveal.js/css/reveal.css">
<link rel="stylesheet" href="/reveal.js/css/theme/white.css" id="theme">
- <!-- For syntax highlighting -->
- <link rel="stylesheet" href="/reveal.js/lib/css/zenburn.css">
+ <!-- For syntax highlighting - note that these are not the generic highlight.js theme files - see https://github.com/nwinkler/reveal-highlight-themes -->
+ <link rel="stylesheet" href="/styles/xcode.css">
+
+ <!-- Override a few styles -->
+ <style>
+ /*
+ Not actually sure why this block isn't being picked up from the syntax highlight css
+ If you change the syntax highlight theme, copy the first block here
+ */
+ .reveal pre code {
+ display: block;
+ overflow-x: auto;
+ padding: 0.5em;
+ background: #fff;
+ color: black;
+ -webkit-text-size-adjust: none;
+ }
+ /* Left-align h3 and h4 if they are p elements */
+ h3.p {
+ text-align: left;
+ }
+ h4.p {
+ text-align: left;
+ }
+ /* and left-aligned but slightly indented bullet lists */
+ .reveal ul {
+ display: block;
+ margin: 0 0 1em 3em;
+ }
+ </style>
<!-- Printing and PDF exports -->
<script>
@@ -271,7 +299,7 @@ array_key_exists($needle, $haystack);
strchr($haystack, $needle);</code></pre>
</section>
<section>
- <h2>2014</h2>
+ <h1>2014</h1>
</section>
<section>
<section id="performance">
@@ -560,7 +588,7 @@ $foo()()
{ src: '/reveal.js/lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: '/reveal.js/plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: '/reveal.js/plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
- { src: '/reveal.js/plugin/highlight/highlight.js', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
+ { src: '/highlight.min.js', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: '/reveal.js/plugin/zoom-js/zoom.js', async: true },
{ src: '/reveal.js/plugin/notes/notes.js', async: true }
]
diff --git a/nz14.html b/nz14.html
index c453f9e..e516d57 100644
--- a/nz14.html
+++ b/nz14.html
@@ -17,8 +17,36 @@
<link rel="stylesheet" href="/reveal.js/css/reveal.css">
<link rel="stylesheet" href="/reveal.js/css/theme/white.css" id="theme">
- <!-- For syntax highlighting -->
- <link rel="stylesheet" href="/reveal.js/lib/css/zenburn.css">
+ <!-- For syntax highlighting - note that these are not the generic highlight.js theme files - see https://github.com/nwinkler/reveal-highlight-themes -->
+ <link rel="stylesheet" href="/styles/xcode.css">
+
+ <!-- Override a few styles -->
+ <style>
+ /*
+ Not actually sure why this block isn't being picked up from the syntax highlight css
+ If you change the syntax highlight theme, copy the first block here
+ */
+ .reveal pre code {
+ display: block;
+ overflow-x: auto;
+ padding: 0.5em;
+ background: #fff;
+ color: black;
+ -webkit-text-size-adjust: none;
+ }
+ /* Left-align h3 and h4 if they are p elements */
+ h3.p {
+ text-align: left;
+ }
+ h4.p {
+ text-align: left;
+ }
+ /* and left-aligned but slightly indented bullet lists */
+ .reveal ul {
+ display: block;
+ margin: 0 0 1em 3em;
+ }
+ </style>
<!-- Printing and PDF exports -->
<script>
@@ -202,7 +230,7 @@ array_key_exists($needle, $haystack);
strchr($haystack, $needle);</code></pre>
</section>
<section>
- <h2>2014</h2>
+ <h1>2014</h1>
</section>
<section>
<section id="performance">
@@ -491,7 +519,7 @@ $foo()()
{ src: '/reveal.js/lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: '/reveal.js/plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: '/reveal.js/plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
- { src: '/reveal.js/plugin/highlight/highlight.js', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
+ { src: '/highlight.min.js', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: '/reveal.js/plugin/zoom-js/zoom.js', async: true },
{ src: '/reveal.js/plugin/notes/notes.js', async: true }
]
diff --git a/phpday14.html b/phpday14.html
index 3dbec21..732c9b7 100644
--- a/phpday14.html
+++ b/phpday14.html
@@ -17,8 +17,36 @@
<link rel="stylesheet" href="/reveal.js/css/reveal.css">
<link rel="stylesheet" href="/reveal.js/css/theme/white.css" id="theme">
- <!-- For syntax highlighting -->
- <link rel="stylesheet" href="/reveal.js/lib/css/zenburn.css">
+ <!-- For syntax highlighting - note that these are not the generic highlight.js theme files - see https://github.com/nwinkler/reveal-highlight-themes -->
+ <link rel="stylesheet" href="/styles/xcode.css">
+
+ <!-- Override a few styles -->
+ <style>
+ /*
+ Not actually sure why this block isn't being picked up from the syntax highlight css
+ If you change the syntax highlight theme, copy the first block here
+ */
+ .reveal pre code {
+ display: block;
+ overflow-x: auto;
+ padding: 0.5em;
+ background: #fff;
+ color: black;
+ -webkit-text-size-adjust: none;
+ }
+ /* Left-align h3 and h4 if they are p elements */
+ h3.p {
+ text-align: left;
+ }
+ h4.p {
+ text-align: left;
+ }
+ /* and left-aligned but slightly indented bullet lists */
+ .reveal ul {
+ display: block;
+ margin: 0 0 1em 3em;
+ }
+ </style>
<!-- Printing and PDF exports -->
<script>
@@ -309,7 +337,7 @@ footer();</code></pre>
{ src: '/reveal.js/lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: '/reveal.js/plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: '/reveal.js/plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
- { src: '/reveal.js/plugin/highlight/highlight.js', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
+ { src: '/highlight.min.js', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: '/reveal.js/plugin/zoom-js/zoom.js', async: true },
{ src: '/reveal.js/plugin/notes/notes.js', async: true }
]
diff --git a/phptour14.html b/phptour14.html
index fa0d446..4ea54b1 100644
--- a/phptour14.html
+++ b/phptour14.html
@@ -17,8 +17,36 @@
<link rel="stylesheet" href="/reveal.js/css/reveal.css">
<link rel="stylesheet" href="/reveal.js/css/theme/white.css" id="theme">
- <!-- For syntax highlighting -->
- <link rel="stylesheet" href="/reveal.js/lib/css/zenburn.css">
+ <!-- For syntax highlighting - note that these are not the generic highlight.js theme files - see https://github.com/nwinkler/reveal-highlight-themes -->
+ <link rel="stylesheet" href="/styles/xcode.css">
+
+ <!-- Override a few styles -->
+ <style>
+ /*
+ Not actually sure why this block isn't being picked up from the syntax highlight css
+ If you change the syntax highlight theme, copy the first block here
+ */
+ .reveal pre code {
+ display: block;
+ overflow-x: auto;
+ padding: 0.5em;
+ background: #fff;
+ color: black;
+ -webkit-text-size-adjust: none;
+ }
+ /* Left-align h3 and h4 if they are p elements */
+ h3.p {
+ text-align: left;
+ }
+ h4.p {
+ text-align: left;
+ }
+ /* and left-aligned but slightly indented bullet lists */
+ .reveal ul {
+ display: block;
+ margin: 0 0 1em 3em;
+ }
+ </style>
<!-- Printing and PDF exports -->
<script>
@@ -202,7 +230,7 @@ array_key_exists($needle, $haystack);
strchr($haystack, $needle);</code></pre>
</section>
<section>
- <h2>2014</h2>
+ <h1>2014</h1>
</section>
<section>
<section id="performance">
@@ -420,7 +448,7 @@ footer();</code></pre>
{ src: '/reveal.js/lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: '/reveal.js/plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: '/reveal.js/plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
- { src: '/reveal.js/plugin/highlight/highlight.js', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
+ { src: '/highlight.min.js', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: '/reveal.js/plugin/zoom-js/zoom.js', async: true },
{ src: '/reveal.js/plugin/notes/notes.js', async: true }
]
diff --git a/sunshinephp14.html b/sunshinephp14.html
index c02b117..8455abf 100644
--- a/sunshinephp14.html
+++ b/sunshinephp14.html
@@ -17,8 +17,36 @@
<link rel="stylesheet" href="/reveal.js/css/reveal.css">
<link rel="stylesheet" href="/reveal.js/css/theme/white.css" id="theme">
- <!-- For syntax highlighting -->
- <link rel="stylesheet" href="/reveal.js/lib/css/zenburn.css">
+ <!-- For syntax highlighting - note that these are not the generic highlight.js theme files - see https://github.com/nwinkler/reveal-highlight-themes -->
+ <link rel="stylesheet" href="/styles/xcode.css">
+
+ <!-- Override a few styles -->
+ <style>
+ /*
+ Not actually sure why this block isn't being picked up from the syntax highlight css
+ If you change the syntax highlight theme, copy the first block here
+ */
+ .reveal pre code {
+ display: block;
+ overflow-x: auto;
+ padding: 0.5em;
+ background: #fff;
+ color: black;
+ -webkit-text-size-adjust: none;
+ }
+ /* Left-align h3 and h4 if they are p elements */
+ h3.p {
+ text-align: left;
+ }
+ h4.p {
+ text-align: left;
+ }
+ /* and left-aligned but slightly indented bullet lists */
+ .reveal ul {
+ display: block;
+ margin: 0 0 1em 3em;
+ }
+ </style>
<!-- Printing and PDF exports -->
<script>
@@ -306,7 +334,7 @@ footer();</code></pre>
{ src: '/reveal.js/lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: '/reveal.js/plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: '/reveal.js/plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
- { src: '/reveal.js/plugin/highlight/highlight.js', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
+ { src: '/highlight.min.js', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: '/reveal.js/plugin/zoom-js/zoom.js', async: true },
{ src: '/reveal.js/plugin/notes/notes.js', async: true }
]
diff --git a/wepay14.html b/wepay14.html
index 5b898a7..f5cf558 100644
--- a/wepay14.html
+++ b/wepay14.html
@@ -17,8 +17,36 @@
<link rel="stylesheet" href="/reveal.js/css/reveal.css">
<link rel="stylesheet" href="/reveal.js/css/theme/white.css" id="theme">
- <!-- For syntax highlighting -->
- <link rel="stylesheet" href="/reveal.js/lib/css/zenburn.css">
+ <!-- For syntax highlighting - note that these are not the generic highlight.js theme files - see https://github.com/nwinkler/reveal-highlight-themes -->
+ <link rel="stylesheet" href="/styles/xcode.css">
+
+ <!-- Override a few styles -->
+ <style>
+ /*
+ Not actually sure why this block isn't being picked up from the syntax highlight css
+ If you change the syntax highlight theme, copy the first block here
+ */
+ .reveal pre code {
+ display: block;
+ overflow-x: auto;
+ padding: 0.5em;
+ background: #fff;
+ color: black;
+ -webkit-text-size-adjust: none;
+ }
+ /* Left-align h3 and h4 if they are p elements */
+ h3.p {
+ text-align: left;
+ }
+ h4.p {
+ text-align: left;
+ }
+ /* and left-aligned but slightly indented bullet lists */
+ .reveal ul {
+ display: block;
+ margin: 0 0 1em 3em;
+ }
+ </style>
<!-- Printing and PDF exports -->
<script>
@@ -279,7 +307,7 @@ footer();</code></pre>
{ src: '/reveal.js/lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: '/reveal.js/plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: '/reveal.js/plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
- { src: '/reveal.js/plugin/highlight/highlight.js', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
+ { src: '/highlight.min.js', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: '/reveal.js/plugin/zoom-js/zoom.js', async: true },
{ src: '/reveal.js/plugin/notes/notes.js', async: true }
]