diff options
author | Eric Bidelman | 2012-04-10 15:16:55 -0700 |
---|---|---|
committer | Eric Bidelman | 2012-04-10 15:16:55 -0700 |
commit | a43294ef655c97758b425bd7a0c1d005cdd83483 (patch) | |
tree | d1cde3df6c5009e63f14158b46112ba2cb5afa4b /template.html | |
parent | 10b9ae9cd661540c377b5e598cd1f38b7f79cc2d (diff) | |
download | io-slides-remote-a43294ef655c97758b425bd7a0c1d005cdd83483.tar.gz |
Code highlighting in place
Diffstat (limited to 'template.html')
-rw-r--r-- | template.html | 35 |
1 files changed, 31 insertions, 4 deletions
diff --git a/template.html b/template.html index a86bf46..21af68e 100644 --- a/template.html +++ b/template.html | |||
@@ -100,14 +100,15 @@ URL: https://code.google.com/p/io-2012-slides | |||
100 | <h3>Subtitle Placeholder</h3> | 100 | <h3>Subtitle Placeholder</h3> |
101 | </hgroup> | 101 | </hgroup> |
102 | <article> | 102 | <article> |
103 | <p>Press 'h' to highlight important sections of code (wrapped in <code><b></code>).</p> | ||
103 | <pre class="prettyprint" data-lang="javascript"> | 104 | <pre class="prettyprint" data-lang="javascript"> |
104 | <script type='text/javascript'> | 105 | <script type='text/javascript'> |
105 | // Say hello world until the user starts questioning | 106 | // Say hello world until the user starts questioning |
106 | // the meaningfulness of their existence. | 107 | // the meaningfulness of their existence. |
107 | function helloWorld(world) { | 108 | function helloWorld(world) { |
108 | for (var i = 42; --i >= 0;) { | 109 | <b>for (var i = 42; --i >= 0;) { |
109 | alert('Hello ' + String(world)); | 110 | alert('Hello ' + String(world)); |
110 | } | 111 | }</b> |
111 | } | 112 | } |
112 | </script> | 113 | </script> |
113 | </pre> | 114 | </pre> |
@@ -156,7 +157,7 @@ function helloWorld(world) { | |||
156 | <h2>Slide with Speaker Notes</h2> | 157 | <h2>Slide with Speaker Notes</h2> |
157 | </hgroup> | 158 | </hgroup> |
158 | <article> | 159 | <article> |
159 | Press 'n' | 160 | Press 'n' to show speaker notes on a slide. |
160 | </article> | 161 | </article> |
161 | </slide> | 162 | </slide> |
162 | 163 | ||
@@ -262,7 +263,33 @@ function helloWorld(world) { | |||
262 | </article> | 263 | </article> |
263 | </slide> | 264 | </slide> |
264 | 265 | ||
265 | 266 | <slide> | |
267 | <hgroup> | ||
268 | <h2>Slide styles</h2> | ||
269 | </hgroup> | ||
270 | <article class="smaller columns-2"> | ||
271 | <ul> | ||
272 | <li class="red">class="red"</li> | ||
273 | <li class="red2">class="red2"</li> | ||
274 | <li class="red3">class="red3"</li> | ||
275 | <li class="blue">class="blue"</li> | ||
276 | <li class="blue2">class="blue2"</li> | ||
277 | <li class="blue3">class="blue3"</li> | ||
278 | <li class="green">class="green"</li> | ||
279 | <li class="green2">class="green2"</li> | ||
280 | </ul> | ||
281 | <ul> | ||
282 | <li class="green3">class="green3"</li> | ||
283 | <li class="yellow">class="yellow"</li> | ||
284 | <li class="yellow2">class="yellow2"</li> | ||
285 | <li class="yellow3">class="yellow3"</li> | ||
286 | <li class="gray">class="gray"</li> | ||
287 | <li class="gray2">class="gray2"</li> | ||
288 | <li class="gray3">class="gray3"</li> | ||
289 | <li class="gray4">class="gray4"</li> | ||
290 | </ul> | ||
291 | </article> | ||
292 | </slide> | ||
266 | <slide class="segue dark nobackground"> | 293 | <slide class="segue dark nobackground"> |
267 | <aside class="gdbar"><img src="images/google_developers_icon_128.png"></aside> | 294 | <aside class="gdbar"><img src="images/google_developers_icon_128.png"></aside> |
268 | <hgroup class="auto-fadein"> | 295 | <hgroup class="auto-fadein"> |