From a43294ef655c97758b425bd7a0c1d005cdd83483 Mon Sep 17 00:00:00 2001
From: Eric Bidelman
Date: Tue, 10 Apr 2012 15:16:55 -0700
Subject: Code highlighting in place
---
template.html | 35 +++++++++++++++++++++++++++++++----
1 file changed, 31 insertions(+), 4 deletions(-)
(limited to 'template.html')
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
Subtitle Placeholder
+ Press 'h' to highlight important sections of code (wrapped in <b>
).
<script type='text/javascript'>
// Say hello world until the user starts questioning
// the meaningfulness of their existence.
function helloWorld(world) {
- for (var i = 42; --i >= 0;) {
+ for (var i = 42; --i >= 0;) {
alert('Hello ' + String(world));
- }
+ }
}
</script>
@@ -156,7 +157,7 @@ function helloWorld(world) {
Slide with Speaker Notes
- Press 'n'
+ Press 'n' to show speaker notes on a slide.
@@ -262,7 +263,33 @@ function helloWorld(world) {
-
+
+
+ Slide styles
+
+
+
+ - class="red"
+ - class="red2"
+ - class="red3"
+ - class="blue"
+ - class="blue2"
+ - class="blue3"
+ - class="green"
+ - class="green2"
+
+
+ - class="green3"
+ - class="yellow"
+ - class="yellow2"
+ - class="yellow3"
+ - class="gray"
+ - class="gray2"
+ - class="gray3"
+ - class="gray4"
+
+
+
--
cgit v1.2.3