Browse Source

fix and format examples decks

Hakim El Hattab 6 months ago
parent
commit
7fff2f59f0

+ 9 - 6
examples/500-slides.html

@@ -1,14 +1,17 @@
-<!doctype html>
+<!DOCTYPE html>
 <html lang="en">
 	<head>
-		<meta charset="utf-8">
+		<meta charset="utf-8" />
 
 		<title>reveal.js - 500 slides</title>
 
-		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
+		<meta
+			name="viewport"
+			content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
+		/>
 
-		<link rel="stylesheet" href="../dist/reveal.css">
-		<link rel="stylesheet" href="../dist/theme/black.css">
+		<link rel="stylesheet" href="../dist/reveal.css" />
+		<link rel="stylesheet" href="../dist/theme/black.css" />
 	</head>
 
 	<body>
@@ -519,7 +522,7 @@
 		<script src="../dist/reveal.js"></script>
 		<script>
 			Reveal.initialize({
-				transition: 'linear'
+				transition: 'linear',
 			});
 		</script>
 	</body>

+ 279 - 62
examples/auto-animate.html

@@ -1,27 +1,27 @@
-<!doctype html>
+<!DOCTYPE html>
 <html lang="en">
-
 	<head>
-		<meta charset="utf-8">
+		<meta charset="utf-8" />
 
 		<title>reveal.js - Auto Animate</title>
 
-		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
+		<meta
+			name="viewport"
+			content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
+		/>
 
-		<link rel="stylesheet" href="../dist/reveal.css">
-		<link rel="stylesheet" href="../dist/theme/black.css" id="theme">
-		<link rel="stylesheet" href="../plugin/highlight/monokai.css">
+		<link rel="stylesheet" href="../dist/reveal.css" />
+		<link rel="stylesheet" href="../dist/theme/black.css" id="theme" />
+		<link rel="stylesheet" href="../plugin/highlight/monokai.css" />
 	</head>
 
 	<body>
-
 		<div class="reveal">
-
 			<div class="slides">
 				<section data-auto-animate data-auto-animate-unmatched="fade">
 					<h3>Auto-Animate Example</h3>
 					<p>This will fade out</p>
-					<img src="assets/image1.png" style="height: 100px;">
+					<img src="assets/image1.png" style="height: 100px" />
 					<pre data-id="code"><code data-line-numbers class="hljs" data-trim>
 						function Example() {
 						  const [count, setCount] = useState(0);
@@ -30,9 +30,9 @@
 				</section>
 				<section data-auto-animate data-auto-animate-unmatched="fade">
 					<h3>Auto-Animate Example</h3>
-					<p style="opacity: 0.2; margin-top: 100px;">This will fade out</p>
+					<p style="opacity: 0.2; margin-top: 100px">This will fade out</p>
 					<p>This element is unmatched</p>
-					<img src="assets/image1.png" style="height: 150px;">
+					<img src="assets/image1.png" style="height: 150px" />
 					<pre data-id="code"><code data-line-numbers class="hljs" data-trim>
 						function Example() {
 						  New line!
@@ -42,10 +42,14 @@
 				</section>
 
 				<section data-auto-animate>
-					<p data-id="text-props" style="background: #555; line-height: 1em; letter-spacing: 0em;">Line Height & Letter Spacing</p>
+					<p data-id="text-props" style="background: #555; line-height: 1em; letter-spacing: 0em">
+						Line Height & Letter Spacing
+					</p>
 				</section>
 				<section data-auto-animate>
-					<p data-id="text-props" style="background: #555; line-height: 3em; letter-spacing: 0.2em;">Line Height & Letter Spacing</p>
+					<p data-id="text-props" style="background: #555; line-height: 3em; letter-spacing: 0.2em">
+						Line Height & Letter Spacing
+					</p>
 				</section>
 
 				<section>
@@ -125,36 +129,204 @@
 				</section>
 
 				<section data-auto-animate style="height: 600px">
-					<h3 style="opacity: 0.3; font-size: 18px;">SLIDE 1</h3>
-					<h2 data-id="title" style="margin-top: 260px;">Animate Anything</h2>
-					<div data-id="1" style="background: white; position: absolute; top: 150px; left: 16%; width: 60px; height: 60px;"></div>
-					<div data-id="2" style="background: white; position: absolute; top: 150px; left: 36%; width: 60px; height: 60px;"></div>
-					<div data-id="3" style="background: white; position: absolute; top: 150px; left: 56%; width: 60px; height: 60px;"></div>
-					<div data-id="4" style="background: white; position: absolute; top: 150px; left: 76%; width: 60px; height: 60px;"></div>
+					<h3 style="opacity: 0.3; font-size: 18px">SLIDE 1</h3>
+					<h2 data-id="title" style="margin-top: 260px">Animate Anything</h2>
+					<div
+						data-id="1"
+						style="
+							background: white;
+							position: absolute;
+							top: 150px;
+							left: 16%;
+							width: 60px;
+							height: 60px;
+						"
+					></div>
+					<div
+						data-id="2"
+						style="
+							background: white;
+							position: absolute;
+							top: 150px;
+							left: 36%;
+							width: 60px;
+							height: 60px;
+						"
+					></div>
+					<div
+						data-id="3"
+						style="
+							background: white;
+							position: absolute;
+							top: 150px;
+							left: 56%;
+							width: 60px;
+							height: 60px;
+						"
+					></div>
+					<div
+						data-id="4"
+						style="
+							background: white;
+							position: absolute;
+							top: 150px;
+							left: 76%;
+							width: 60px;
+							height: 60px;
+						"
+					></div>
 				</section>
 				<section data-auto-animate style="height: 600px">
-					<h3 style="opacity: 0.3; font-size: 18px;">SLIDE 2</h3>
+					<h3 style="opacity: 0.3; font-size: 18px">SLIDE 2</h3>
 					<h2 data-id="title" style="margin-top: 500px">With Auto Animate</h2>
-					<div data-id="1" style="background: cyan; position: absolute; bottom: 190px; left: 16%; width: 60px; height: 60px;"></div>
-					<div data-id="2" style="background: magenta; position: absolute; bottom: 190px; left: 36%; width: 60px; height: 160px;"></div>
-					<div data-id="3" style="background: yellow; position: absolute; bottom: 190px; left: 56%; width: 60px; height: 260px;"></div>
-					<div data-id="4" style="background: red; position: absolute; bottom: 190px; left: 76%; width: 60px; height: 360px;"></div>
+					<div
+						data-id="1"
+						style="
+							background: cyan;
+							position: absolute;
+							bottom: 190px;
+							left: 16%;
+							width: 60px;
+							height: 60px;
+						"
+					></div>
+					<div
+						data-id="2"
+						style="
+							background: magenta;
+							position: absolute;
+							bottom: 190px;
+							left: 36%;
+							width: 60px;
+							height: 160px;
+						"
+					></div>
+					<div
+						data-id="3"
+						style="
+							background: yellow;
+							position: absolute;
+							bottom: 190px;
+							left: 56%;
+							width: 60px;
+							height: 260px;
+						"
+					></div>
+					<div
+						data-id="4"
+						style="
+							background: red;
+							position: absolute;
+							bottom: 190px;
+							left: 76%;
+							width: 60px;
+							height: 360px;
+						"
+					></div>
 				</section>
 				<section data-auto-animate style="height: 600px">
-					<h3 style="opacity: 0.3; font-size: 18px;">SLIDE 3</h3>
-					<h2 data-id="title" style="margin-top: 500px; opacity: 0;">With Auto Animate</h2>
-					<div data-id="1" style="background: cyan; position: absolute; top: 50%; left: 50%; width: 400px; height: 400px; margin: -200px 0 0 -200px; border-radius: 400px;"></div>
-					<div data-id="2" style="background: magenta; position: absolute; top: 50%; left: 50%; width: 300px; height: 300px; margin: -150px 0 0 -150px; border-radius: 400px;"></div>
-					<div data-id="3" style="background: yellow; position: absolute; top: 50%; left: 50%; width: 200px; height: 200px; margin: -100px 0 0 -100px; border-radius: 400px;"></div>
-					<div data-id="4" style="background: red; position: absolute; top: 50%; left: 50%; width: 100px; height: 100px; margin: -50px 0 0 -50px; border-radius: 400px;"></div>
+					<h3 style="opacity: 0.3; font-size: 18px">SLIDE 3</h3>
+					<h2 data-id="title" style="margin-top: 500px; opacity: 0">With Auto Animate</h2>
+					<div
+						data-id="1"
+						style="
+							background: cyan;
+							position: absolute;
+							top: 50%;
+							left: 50%;
+							width: 400px;
+							height: 400px;
+							margin: -200px 0 0 -200px;
+							border-radius: 400px;
+						"
+					></div>
+					<div
+						data-id="2"
+						style="
+							background: magenta;
+							position: absolute;
+							top: 50%;
+							left: 50%;
+							width: 300px;
+							height: 300px;
+							margin: -150px 0 0 -150px;
+							border-radius: 400px;
+						"
+					></div>
+					<div
+						data-id="3"
+						style="
+							background: yellow;
+							position: absolute;
+							top: 50%;
+							left: 50%;
+							width: 200px;
+							height: 200px;
+							margin: -100px 0 0 -100px;
+							border-radius: 400px;
+						"
+					></div>
+					<div
+						data-id="4"
+						style="
+							background: red;
+							position: absolute;
+							top: 50%;
+							left: 50%;
+							width: 100px;
+							height: 100px;
+							margin: -50px 0 0 -50px;
+							border-radius: 400px;
+						"
+					></div>
 				</section>
 				<section data-auto-animate style="height: 600px">
-					<h3 style="opacity: 0.3; font-size: 18px;">SLIDE 3</h3>
-					<h2 data-id="title" style="margin-top: 500px; opacity: 0;">With Auto Animate</h2>
-					<div data-id="1" style="background: red; position: absolute; top: 250px; left: 16%; width: 60px; height: 60px;"></div>
-					<div data-id="2" style="background: yellow; position: absolute; top: 250px; left: 36%; width: 60px; height: 60px;"></div>
-					<div data-id="3" style="background: magenta; position: absolute; top: 250px; left: 56%; width: 60px; height: 60px;"></div>
-					<div data-id="4" style="background: cyan; position: absolute; top: 250px; left: 76%; width: 60px; height: 60px;"></div>
+					<h3 style="opacity: 0.3; font-size: 18px">SLIDE 3</h3>
+					<h2 data-id="title" style="margin-top: 500px; opacity: 0">With Auto Animate</h2>
+					<div
+						data-id="1"
+						style="
+							background: red;
+							position: absolute;
+							top: 250px;
+							left: 16%;
+							width: 60px;
+							height: 60px;
+						"
+					></div>
+					<div
+						data-id="2"
+						style="
+							background: yellow;
+							position: absolute;
+							top: 250px;
+							left: 36%;
+							width: 60px;
+							height: 60px;
+						"
+					></div>
+					<div
+						data-id="3"
+						style="
+							background: magenta;
+							position: absolute;
+							top: 250px;
+							left: 56%;
+							width: 60px;
+							height: 60px;
+						"
+					></div>
+					<div
+						data-id="4"
+						style="
+							background: cyan;
+							position: absolute;
+							top: 250px;
+							left: 76%;
+							width: 60px;
+							height: 60px;
+						"
+					></div>
 				</section>
 
 				<section data-auto-animate data-auto-animate-id="a">
@@ -178,48 +350,93 @@
 
 				<section>
 					<section id="stacked-slide-1" data-auto-animate>
-						<a href="#/stacked-slide-1">Slide 1</a><br>
-						<a href="#/stacked-slide-2">Slide 2</a><br>
-						<a href="#/stacked-slide-3">Slide 3</a><br>
-						<a href="#/stacked-slide-4">Slide 4</a><br>
-						<div data-id="anim" style="background: indigo; padding: 8px; width: 50px; height: 50px; position: absolute; left: 0px;">A</div>
+						<a href="#/stacked-slide-1">Slide 1</a><br />
+						<a href="#/stacked-slide-2">Slide 2</a><br />
+						<a href="#/stacked-slide-3">Slide 3</a><br />
+						<a href="#/stacked-slide-4">Slide 4</a><br />
+						<div
+							data-id="anim"
+							style="
+								background: indigo;
+								padding: 8px;
+								width: 50px;
+								height: 50px;
+								position: absolute;
+								left: 0px;
+							"
+						>
+							A
+						</div>
 					</section>
 					<section id="stacked-slide-2" data-auto-animate>
-						<a href="#/stacked-slide-1">Slide 1</a><br>
-						<a href="#/stacked-slide-2">Slide 2</a><br>
-						<a href="#/stacked-slide-3">Slide 3</a><br>
-						<a href="#/stacked-slide-4">Slide 4</a><br>
-						<div data-id="anim" style="background: indigo; padding: 8px; width: 50px; height: 50px; position: absolute; left: 25%;">A</div>
+						<a href="#/stacked-slide-1">Slide 1</a><br />
+						<a href="#/stacked-slide-2">Slide 2</a><br />
+						<a href="#/stacked-slide-3">Slide 3</a><br />
+						<a href="#/stacked-slide-4">Slide 4</a><br />
+						<div
+							data-id="anim"
+							style="
+								background: indigo;
+								padding: 8px;
+								width: 50px;
+								height: 50px;
+								position: absolute;
+								left: 25%;
+							"
+						>
+							A
+						</div>
 					</section>
 					<section id="stacked-slide-3" data-auto-animate>
-						<a href="#/stacked-slide-1">Slide 1</a><br>
-						<a href="#/stacked-slide-2">Slide 2</a><br>
-						<a href="#/stacked-slide-3">Slide 3</a><br>
-						<a href="#/stacked-slide-4">Slide 4</a><br>
-						<div data-id="anim" style="background: indigo; padding: 8px; width: 50px; height: 50px; position: absolute; left: 50%;">A</div>
+						<a href="#/stacked-slide-1">Slide 1</a><br />
+						<a href="#/stacked-slide-2">Slide 2</a><br />
+						<a href="#/stacked-slide-3">Slide 3</a><br />
+						<a href="#/stacked-slide-4">Slide 4</a><br />
+						<div
+							data-id="anim"
+							style="
+								background: indigo;
+								padding: 8px;
+								width: 50px;
+								height: 50px;
+								position: absolute;
+								left: 50%;
+							"
+						>
+							A
+						</div>
 					</section>
 					<section id="stacked-slide-4" data-auto-animate>
-						<a href="#/stacked-slide-1">Slide 1</a><br>
-						<a href="#/stacked-slide-2">Slide 2</a><br>
-						<a href="#/stacked-slide-3">Slide 3</a><br>
-						<a href="#/stacked-slide-4">Slide 4</a><br>
-						<div data-id="anim" style="background: indigo; padding: 8px; width: 50px; height: 50px; position: absolute; left: 75%;">A</div>
+						<a href="#/stacked-slide-1">Slide 1</a><br />
+						<a href="#/stacked-slide-2">Slide 2</a><br />
+						<a href="#/stacked-slide-3">Slide 3</a><br />
+						<a href="#/stacked-slide-4">Slide 4</a><br />
+						<div
+							data-id="anim"
+							style="
+								background: indigo;
+								padding: 8px;
+								width: 50px;
+								height: 50px;
+								position: absolute;
+								left: 75%;
+							"
+						>
+							A
+						</div>
 					</section>
 				</section>
-
 			</div>
-
 		</div>
 
 		<script src="../dist/reveal.js"></script>
-		<script src="../plugin/highlight/highlight.js"></script>
+		<script src="../dist/plugin/highlight.js"></script>
 		<script>
 			Reveal.initialize({
 				center: true,
 				hash: true,
-				plugins: [ RevealHighlight ]
+				plugins: [RevealHighlight],
 			});
 		</script>
-
 	</body>
 </html>

+ 20 - 17
examples/backgrounds.html

@@ -1,15 +1,17 @@
-<!doctype html>
+<!DOCTYPE html>
 <html lang="en">
-
 	<head>
-		<meta charset="utf-8">
+		<meta charset="utf-8" />
 
 		<title>reveal.js - Slide Backgrounds</title>
 
-		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
+		<meta
+			name="viewport"
+			content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
+		/>
 
-		<link rel="stylesheet" href="../dist/reveal.css">
-		<link rel="stylesheet" href="../dist/theme/serif.css" id="theme">
+		<link rel="stylesheet" href="../dist/reveal.css" />
+		<link rel="stylesheet" href="../dist/theme/serif.css" id="theme" />
 		<style type="text/css" media="screen">
 			.slides section.has-dark-background,
 			.slides section.has-dark-background h2 {
@@ -23,11 +25,8 @@
 	</head>
 
 	<body>
-
 		<div class="reveal">
-
 			<div class="slides">
-
 				<section data-background="#00ffff">
 					<h2>data-background: #00ffff</h2>
 				</section>
@@ -77,9 +76,16 @@
 					</section>
 				</section>
 
-				<section data-background="assets/image2.png" data-background-size="100px" data-background-repeat="repeat" data-background-color="#111">
+				<section
+					data-background="assets/image2.png"
+					data-background-size="100px"
+					data-background-repeat="repeat"
+					data-background-color="#111"
+				>
 					<h2>Background image</h2>
-					<pre>data-background-size="100px" data-background-repeat="repeat" data-background-color="#111"</pre>
+					<pre>
+data-background-size="100px" data-background-repeat="repeat" data-background-color="#111"</pre
+					>
 				</section>
 
 				<section data-background="#888888">
@@ -93,7 +99,9 @@
 					<h2>Video background</h2>
 				</section>
 
-				<section data-background-iframe="https://slides.com/news/make-better-presentations/embed?style=hidden&autoSlide=4000">
+				<section
+					data-background-iframe="https://slides.com/news/make-better-presentations/embed?style=hidden&autoSlide=4000"
+				>
 					<h2>Iframe background</h2>
 				</section>
 
@@ -117,14 +125,11 @@
 						<h2>Same background from horizontal to vertical (3/3)</h2>
 					</section>
 				</section>
-
 			</div>
-
 		</div>
 
 		<script src="../dist/reveal.js"></script>
 		<script>
-
 			// Full list of configuration options:
 			// https://revealjs.revealjs.com/config/
 			Reveal.initialize({
@@ -134,8 +139,6 @@
 				// transitionSpeed: 'slow',
 				// backgroundTransition: 'slide'
 			});
-
 		</script>
-
 	</body>
 </html>

+ 7 - 8
examples/barebones.html

@@ -1,25 +1,25 @@
-<!doctype html>
+<!DOCTYPE html>
 <html lang="en">
 	<head>
-		<meta charset="utf-8">
+		<meta charset="utf-8" />
 		<title>reveal.js - Barebones</title>
-		<link rel="stylesheet" href="../dist/reveal.css">
+		<link rel="stylesheet" href="../dist/reveal.css" />
 	</head>
 	<body>
-
 		<div class="reveal">
 			<div class="slides">
-
 				<section>
 					<h2>Barebones Presentation</h2>
-					<p>This example contains the bare minimum includes and markup required to run a reveal.js presentation.</p>
+					<p>
+						This example contains the bare minimum includes and markup required to run a reveal.js
+						presentation.
+					</p>
 				</section>
 
 				<section>
 					<h2>No Theme</h2>
 					<p>There's no theme included, so it will fall back on browser defaults.</p>
 				</section>
-
 			</div>
 		</div>
 
@@ -27,6 +27,5 @@
 		<script>
 			Reveal.initialize();
 		</script>
-
 	</body>
 </html>

+ 37 - 26
examples/layout-helpers.html

@@ -1,24 +1,23 @@
-<!doctype html>
+<!DOCTYPE html>
 <html lang="en">
-
 	<head>
-		<meta charset="utf-8">
+		<meta charset="utf-8" />
 
 		<title>reveal.js - Layout Helpers</title>
 
-		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
+		<meta
+			name="viewport"
+			content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
+		/>
 
-		<link rel="stylesheet" href="../dist/reveal.css">
-		<link rel="stylesheet" href="../dist/theme/white.css" id="theme">
-		<link rel="stylesheet" href="../plugin/highlight/monokai.css">
+		<link rel="stylesheet" href="../dist/reveal.css" />
+		<link rel="stylesheet" href="../dist/theme/white.css" id="theme" />
+		<link rel="stylesheet" href="../plugin/highlight/monokai.css" />
 	</head>
 
 	<body>
-
 		<div class="reveal">
-
 			<div class="slides">
-
 				<section>
 					<h2>Layout Helper Examples</h2>
 					<ul>
@@ -59,7 +58,7 @@
 
 				<section>
 					<h2>Stretch Example</h2>
-					<img src="assets/image2.png" class="r-stretch">
+					<img src="assets/image2.png" class="r-stretch" />
 					<p>Image byline</p>
 				</section>
 
@@ -84,9 +83,9 @@
 						<p class="fragment fade-in-then-out">Four</p>
 					</div>
 					<div class="r-stack">
-						<img src="https://placekitten.com/450/300" width="450" height="300" class="fragment">
-						<img src="https://placekitten.com/300/450" width="300" height="450" class="fragment">
-						<img src="https://placekitten.com/400/400" width="400" height="400" class="fragment">
+						<img src="https://placekitten.com/450/300" width="450" height="300" class="fragment" />
+						<img src="https://placekitten.com/300/450" width="300" height="450" class="fragment" />
+						<img src="https://placekitten.com/400/400" width="400" height="400" class="fragment" />
 					</div>
 				</section>
 
@@ -94,9 +93,24 @@
 					<h2>Stack Example</h2>
 					<p>fade-in-then-out fragments</p>
 					<div class="r-stack">
-						<img src="https://placekitten.com/450/300" width="450" height="300" class="fragment fade-in-then-out">
-						<img src="https://placekitten.com/300/450" width="300" height="450" class="fragment fade-in-then-out">
-						<img src="https://placekitten.com/400/400" width="400" height="400" class="fragment fade-in-then-out">
+						<img
+							src="https://placekitten.com/450/300"
+							width="450"
+							height="300"
+							class="fragment fade-in-then-out"
+						/>
+						<img
+							src="https://placekitten.com/300/450"
+							width="300"
+							height="450"
+							class="fragment fade-in-then-out"
+						/>
+						<img
+							src="https://placekitten.com/400/400"
+							width="400"
+							height="400"
+							class="fragment fade-in-then-out"
+						/>
 					</div>
 				</section>
 
@@ -115,9 +129,9 @@
 				<section data-auto-animate>
 					<h2>HStack Example</h2>
 					<div class="r-hstack">
-						<p style="padding: 0.50em; background: #eee; margin: 0.25em">One</p>
+						<p style="padding: 0.5em; background: #eee; margin: 0.25em">One</p>
 						<p style="padding: 0.75em; background: #eee; margin: 0.25em">Two</p>
-						<p style="padding: 1.00em; background: #eee; margin: 0.25em">Three</p>
+						<p style="padding: 1em; background: #eee; margin: 0.25em">Three</p>
 					</div>
 				</section>
 
@@ -136,25 +150,22 @@
 				<section data-auto-animate>
 					<h2>VStack Example</h2>
 					<div class="r-vstack">
-						<p style="padding: 0.50em; background: #eee; margin: 0.25em">One</p>
+						<p style="padding: 0.5em; background: #eee; margin: 0.25em">One</p>
 						<p style="padding: 0.75em; background: #eee; margin: 0.25em">Two</p>
-						<p style="padding: 1.00em; background: #eee; margin: 0.25em">Three</p>
+						<p style="padding: 1em; background: #eee; margin: 0.25em">Three</p>
 					</div>
 				</section>
-
 			</div>
-
 		</div>
 
 		<script src="../dist/reveal.js"></script>
-		<script src="../plugin/highlight/highlight.js"></script>
+		<script src="../dist/plugin/highlight.js"></script>
 		<script>
 			Reveal.initialize({
 				center: true,
 				hash: true,
-				plugins: [ RevealHighlight ]
+				plugins: [RevealHighlight],
 			});
 		</script>
-
 	</body>
 </html>

+ 126 - 128
examples/markdown.html

@@ -1,132 +1,133 @@
-<!doctype html>
+<!DOCTYPE html>
 <html lang="en">
-
 	<head>
-		<meta charset="utf-8">
+		<meta charset="utf-8" />
 
 		<title>reveal.js - Markdown Example</title>
 
-		<link rel="stylesheet" href="../dist/reveal.css">
-		<link rel="stylesheet" href="../dist/theme/white.css" id="theme">
+		<link rel="stylesheet" href="../dist/reveal.css" />
+		<link rel="stylesheet" href="../dist/theme/white.css" id="theme" />
 
-        <link rel="stylesheet" href="../plugin/highlight/monokai.css">
+		<link rel="stylesheet" href="../plugin/highlight/monokai.css" />
 	</head>
 
 	<body>
-
 		<div class="reveal">
-
 			<div class="slides">
-
-                <!-- Use external markdown resource, separate slides by three newlines; vertical slides by two newlines -->
-                <section data-markdown="markdown.md" data-separator="^\n\n\n" data-separator-vertical="^\n\n"></section>
-
-                <!-- Slides are separated by three dashes (the default) -->
-                <section data-markdown>
-                    <script type="text/template">
-                        ## Demo 1
-                        Slide 1
-                        ---
-                        ## Demo 1
-                        Slide 2
-                        ---
-                        ## Demo 1
-                        Slide 3
-                    </script>
-                </section>
-
-                <!-- Slides are separated by regexp matching newline + three dashes + newline, vertical slides identical but two dashes -->
-                <section data-markdown data-separator="^\n---\n$" data-separator-vertical="^\n--\n$">
-                    <script type="text/template">
-                        ## Demo 2
-                        Slide 1.1
-
-                        --
-
-                        ## Demo 2
-                        Slide 1.2
-
-                        ---
-
-                        ## Demo 2
-                        Slide 2
-                    </script>
-                </section>
-
-                <!-- No "extra" slides, since the separator can't be matched ("---" will become horizontal rulers) -->
-                <section data-markdown data-separator="$x">
-                    <script type="text/template">
-                        A
-
-                        ---
-
-                        B
-
-                        ---
-
-                        C
-                    </script>
-                </section>
-
-                <!-- Slide attributes -->
-                <section data-markdown>
-                    <script type="text/template">
-                        <!-- .slide: data-background="#000000" -->
-                        ## Slide attributes
-                    </script>
-                </section>
-
-                <!-- Element attributes -->
-                <section data-markdown>
-                    <script type="text/template">
-                        ## Element attributes
-                        - Item 1 <!-- .element: class="fragment" data-fragment-index="2" -->
-                        - Item 2 <!-- .element: class="fragment" data-fragment-index="1" -->
-                    </script>
-                </section>
-
-                <!-- Code -->
-                <section data-markdown>
-                    <script type="text/template">
-                        ```php [1|3-5]
-                        public function foo()
-                        {
-                            $foo = array(
-                                'bar' => 'bar'
-                            )
-                        }
-                        ```
-                    </script>
-                </section>
-
-                <!-- add optional line count offset, in this case 287 -->
-                <section data-markdown>
-                    <script type="text/template">
-                        ## echo.c
-
-                        ```c [287: 2|4,6]
-                        /* All of the options in this arg are valid, so handle them. */
-                        p = arg + 1;
-                        do {
-                            if (*p == 'n')
-                                nflag = 0;
-                            if (*p == 'e')
-                                eflag = '\\';
-                        } while (*++p); 
-                        ```
-                        [source](https://git.busybox.net/busybox/tree/coreutils/echo.c?h=1_36_stable#n287)
-                    </script>
-                </section>
-
-                <!-- Images -->
-                <section data-markdown>
-                    <script type="text/template">
-                        ![Sample image](https://static.slid.es/logo/v2/slides-symbol-512x512.png)
-                    </script>
-                </section>
-
-                <!-- Math -->
-                <section data-markdown>
+				<!-- Use external markdown resource, separate slides by three newlines; vertical slides by two newlines -->
+				<section
+					data-markdown="markdown.md"
+					data-separator="^\n\n\n"
+					data-separator-vertical="^\n\n"
+				></section>
+
+				<!-- Slides are separated by three dashes (the default) -->
+				<section data-markdown>
+					<script type="text/template">
+						## Demo 1
+						Slide 1
+						---
+						## Demo 1
+						Slide 2
+						---
+						## Demo 1
+						Slide 3
+					</script>
+				</section>
+
+				<!-- Slides are separated by regexp matching newline + three dashes + newline, vertical slides identical but two dashes -->
+				<section data-markdown data-separator="^\n---\n$" data-separator-vertical="^\n--\n$">
+					<script type="text/template">
+						## Demo 2
+						Slide 1.1
+
+						--
+
+						## Demo 2
+						Slide 1.2
+
+						---
+
+						## Demo 2
+						Slide 2
+					</script>
+				</section>
+
+				<!-- No "extra" slides, since the separator can't be matched ("---" will become horizontal rulers) -->
+				<section data-markdown data-separator="$x">
+					<script type="text/template">
+						A
+
+						---
+
+						B
+
+						---
+
+						C
+					</script>
+				</section>
+
+				<!-- Slide attributes -->
+				<section data-markdown>
+					<script type="text/template">
+						<!-- .slide: data-background="#000000" -->
+						## Slide attributes
+					</script>
+				</section>
+
+				<!-- Element attributes -->
+				<section data-markdown>
+					<script type="text/template">
+						## Element attributes
+						- Item 1 <!-- .element: class="fragment" data-fragment-index="2" -->
+						- Item 2 <!-- .element: class="fragment" data-fragment-index="1" -->
+					</script>
+				</section>
+
+				<!-- Code -->
+				<section data-markdown>
+					<script type="text/template">
+						```php [1|3-5]
+						public function foo()
+						{
+						    $foo = array(
+						        'bar' => 'bar'
+						    )
+						}
+						```
+					</script>
+				</section>
+
+				<!-- add optional line count offset, in this case 287 -->
+				<section data-markdown>
+					<script type="text/template">
+						## echo.c
+
+						```c [287: 2|4,6]
+						/* All of the options in this arg are valid, so handle them. */
+						p = arg + 1;
+						do {
+						    if (*p == 'n')
+						        nflag = 0;
+						    if (*p == 'e')
+						        eflag = '\\';
+						} while (*++p);
+						```
+						[source](https://git.busybox.net/busybox/tree/coreutils/echo.c?h=1_36_stable#n287)
+					</script>
+				</section>
+
+				<!-- Images -->
+				<section data-markdown>
+					<script type="text/template">
+						![Sample image](https://static.slid.es/logo/v2/slides-symbol-512x512.png)
+					</script>
+				</section>
+
+				<!-- Math, prettier-ignore -->
+				<!-- prettier-ignore -->
+				<section data-markdown>
 					## The Lorenz Equations
 					`\[\begin{aligned}
 					\dot{x} &amp; = \sigma(y-x) \\
@@ -134,28 +135,25 @@
 					\dot{z} &amp; = -\beta z + xy
 					\end{aligned} \]`
                 </section>
-
-            </div>
+			</div>
 		</div>
 
 		<script src="../dist/reveal.js"></script>
-        <script src="../plugin/markdown/markdown.js"></script>
-        <script src="../plugin/highlight/highlight.js"></script>
-        <script src="../plugin/notes/notes.js"></script>
-        <script src="../plugin/math/math.js"></script>
+		<script src="../dist/reveal.js"></script>
+		<script src="../dist/plugin/markdown.js"></script>
+		<script src="../dist/plugin/highlight.js"></script>
+		<script src="../dist/plugin/notes.js"></script>
+		<script src="../dist/plugin/math.js"></script>
 
 		<script>
-
 			Reveal.initialize({
 				controls: true,
 				progress: true,
 				history: true,
 				center: true,
 
-				plugins: [ RevealMarkdown, RevealHighlight, RevealNotes, RevealMath.KaTeX ]
+				plugins: [RevealMarkdown, RevealHighlight, RevealNotes, RevealMath.KaTeX],
 			});
-
 		</script>
-
 	</body>
 </html>

+ 15 - 15
examples/math.html

@@ -1,21 +1,22 @@
-<!doctype html>
+<!DOCTYPE html>
 <html lang="en">
-
 	<head>
-		<meta charset="utf-8">
+		<meta charset="utf-8" />
 
 		<title>reveal.js - Math Plugin</title>
 
-		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
+		<meta
+			name="viewport"
+			content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
+		/>
 
-		<link rel="stylesheet" href="../dist/reveal.css">
-		<link rel="stylesheet" href="../dist/theme/night.css" id="theme">
+		<link rel="stylesheet" href="../dist/reveal.css" />
+		<link rel="stylesheet" href="../dist/theme/night.css" id="theme" />
 	</head>
 
 	<body>
-
 		<div class="reveal">
-
+			<!-- prettier-ignore -->
 			<div class="slides">
 
 				<section>
@@ -26,6 +27,7 @@
 				<section>
 					<h3>The Lorenz Equations</h3>
 
+					<!-- prettier-ignore -->
 					\[\begin{aligned}
 					\dot{x} &amp; = \sigma(y-x) \\
 					\dot{y} &amp; = \rho x - y - xz \\
@@ -172,11 +174,10 @@
 				</section>
 
 			</div>
-
 		</div>
 
 		<script src="../dist/reveal.js"></script>
-		<script src="../plugin/math/math.js"></script>
+		<script src="../dist/plugin/math.js"></script>
 		<script>
 			Reveal.initialize({
 				history: true,
@@ -187,9 +188,9 @@
 					TeX: {
 						Macros: {
 							R: '\\mathbb{R}',
-							set: [ '\\left\\{#1 \\; ; \\; #2\\right\\}', 2 ]
-						}
-					}
+							set: ['\\left\\{#1 \\; ; \\; #2\\right\\}', 2],
+						},
+					},
 				},
 
 				// There are three typesetters available
@@ -198,9 +199,8 @@
 				// RevealMath.KaTeX
 				//
 				// More info at https://revealjs.com/math/
-				plugins: [ RevealMath.MathJax2 ]
+				plugins: [RevealMath.MathJax2],
 			});
 		</script>
-
 	</body>
 </html>

+ 21 - 16
examples/media.html

@@ -1,34 +1,42 @@
-<!doctype html>
+<!DOCTYPE html>
 <html lang="en">
-
 	<head>
-		<meta charset="utf-8">
+		<meta charset="utf-8" />
 
 		<title>reveal.js - Video, Audio and Iframes</title>
 
-		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
+		<meta
+			name="viewport"
+			content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
+		/>
 
-		<link rel="stylesheet" href="../dist/reveal.css">
-		<link rel="stylesheet" href="../dist/theme/white.css" id="theme">
+		<link rel="stylesheet" href="../dist/reveal.css" />
+		<link rel="stylesheet" href="../dist/theme/white.css" id="theme" />
 	</head>
 
 	<body>
-
 		<div class="reveal">
-
 			<div class="slides">
-
 				<section>
 					<h2>Examples of embedded Video, Audio and Iframes</h2>
 				</section>
 
 				<section>
 					<h2>Iframe</h2>
-					<iframe data-autoplay width="700" height="540" src="https://slides.com/news/auto-animate/embed" frameborder="0"></iframe>
+					<iframe
+						data-autoplay
+						width="700"
+						height="540"
+						src="https://slides.com/news/auto-animate/embed"
+						frameborder="0"
+					></iframe>
 				</section>
 
-				<section data-background-iframe="https://www.youtube.com/embed/h1_nyI3z8gI" data-background-interactive>
-					<h2 style="color: #fff;">Iframe Background</h2>
+				<section
+					data-background-iframe="https://www.youtube.com/embed/h1_nyI3z8gI"
+					data-background-interactive
+				>
+					<h2 style="color: #fff">Iframe Background</h2>
 				</section>
 
 				<section>
@@ -61,15 +69,12 @@
 					<h2>Audio with controls</h2>
 					<audio src="assets/beeping.wav" controls></audio>
 				</section>
-
 			</div>
-
 		</div>
 
 		<script src="../dist/reveal.js"></script>
 		<script>
-			Reveal.initialize({hash: true});
+			Reveal.initialize({ hash: true });
 		</script>
-
 	</body>
 </html>

+ 31 - 32
examples/multiple-presentations.html

@@ -1,22 +1,23 @@
-<!doctype html>
+<!DOCTYPE html>
 <html lang="en">
-
 	<head>
-		<meta charset="utf-8">
+		<meta charset="utf-8" />
 
 		<title>reveal.js - Multiple Presentations</title>
 
-		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
+		<meta
+			name="viewport"
+			content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
+		/>
 
-		<link rel="stylesheet" href="../dist/reveal.css">
-		<link rel="stylesheet" href="../dist/theme/white.css" id="theme">
-		<link rel="stylesheet" href="../plugin/highlight/monokai.css">
+		<link rel="stylesheet" href="../dist/reveal.css" />
+		<link rel="stylesheet" href="../dist/theme/white.css" id="theme" />
+		<link rel="stylesheet" href="../plugin/highlight/monokai.css" />
 	</head>
 
-	<body style="background: #ddd;">
-
-		<div style="display: flex; flex-direction: row;">
-			<div class="reveal deck1" style="width: 100%; height: 50vh; margin: 10px;">
+	<body style="background: #ddd">
+		<div style="display: flex; flex-direction: row">
+			<div class="reveal deck1" style="width: 100%; height: 50vh; margin: 10px">
 				<div class="slides">
 					<section>Deck 1, Slide 1</section>
 					<section>Deck 1, Slide 2</section>
@@ -31,7 +32,7 @@
 				</div>
 			</div>
 
-			<div class="reveal deck2" style="width: 100%; height: 50vh; margin: 10px;">
+			<div class="reveal deck2" style="width: 100%; height: 50vh; margin: 10px">
 				<div class="slides">
 					<section>Deck 2, Slide 1</section>
 					<section>Deck 2, Slide 2</section>
@@ -47,6 +48,7 @@
 					<section>
 						<h3>The Lorenz Equations</h3>
 
+						<!-- prettier-ignore -->
 						\[\begin{aligned}
 						\dot{x} &amp; = \sigma(y-x) \\
 						\dot{y} &amp; = \rho x - y - xz \\
@@ -67,36 +69,33 @@
 		</style>
 
 		<script src="../dist/reveal.js"></script>
-		<script src="../plugin/highlight/highlight.js"></script>
-		<script src="../plugin/markdown/markdown.js"></script>
-		<script src="../plugin/math/math.js"></script>
+		<script src="../dist/plugin/highlight.js"></script>
+		<script src="../dist/plugin/markdown.js"></script>
+		<script src="../dist/plugin/math.js"></script>
 		<script>
-
-			let deck1 = new Reveal( document.querySelector( '.deck1' ), {
+			let deck1 = new Reveal(document.querySelector('.deck1'), {
 				embedded: true,
 				progress: false,
 				keyboardCondition: 'focused',
-				plugins: [ RevealHighlight ]
-			} );
-			deck1.on( 'slidechanged', () => {
-				console.log( 'Deck 1 slide changed' );
-			} );
+				plugins: [RevealHighlight],
+			});
+			deck1.on('slidechanged', () => {
+				console.log('Deck 1 slide changed');
+			});
 			deck1.initialize();
 
-			let deck2 = new Reveal( document.querySelector( '.deck2' ), {
+			let deck2 = new Reveal(document.querySelector('.deck2'), {
 				embedded: true,
 				progress: false,
 				keyboardCondition: 'focused',
-				plugins: [ RevealMarkdown, RevealMath ]
-			} );
-			deck2.initialize().then( () => {
+				plugins: [RevealMarkdown, RevealMath],
+			});
+			deck2.initialize().then(() => {
 				deck2.slide(1);
-			} );
-			deck2.on( 'slidechanged', () => {
-				console.log( 'Deck 2 slide changed' );
-			} );
-
+			});
+			deck2.on('slidechanged', () => {
+				console.log('Deck 2 slide changed');
+			});
 		</script>
-
 	</body>
 </html>

+ 90 - 44
examples/scroll.html

@@ -1,25 +1,24 @@
-<!doctype html>
+<!DOCTYPE html>
 <html lang="en">
-
 	<head>
-		<meta charset="utf-8">
+		<meta charset="utf-8" />
 
 		<title>reveal.js - Scroll View</title>
 
-		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
+		<meta
+			name="viewport"
+			content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
+		/>
 
-		<link rel="stylesheet" href="../dist/reset.css">
-		<link rel="stylesheet" href="../dist/reveal.css">
-		<link rel="stylesheet" href="../dist/theme/black.css" id="theme">
-    <link rel="stylesheet" href="../plugin/highlight/monokai.css">
+		<link rel="stylesheet" href="../dist/reset.css" />
+		<link rel="stylesheet" href="../dist/reveal.css" />
+		<link rel="stylesheet" href="../dist/theme/black.css" id="theme" />
+		<link rel="stylesheet" href="../dist/plugin/highlight/monokai.css" />
 	</head>
 
 	<body>
-
 		<div class="reveal">
-
 			<div class="slides">
-
 				<section><h1>Scroll View</h1></section>
 				<section data-background="indigo">
 					<h2>Scroll triggered fragments</h2>
@@ -29,35 +28,81 @@
 						<li class="fragment fade-left">Step three</li>
 					</ul>
 				</section>
-				<section data-background-color="#fff"><h2>Scrollbar inverts<br>based on slide bg</h2></section>
-				<section data-auto-animate data-auto-animate-easing="cubic-bezier(0.770, 0.000, 0.175, 1.000)">
+				<section data-background-color="#fff">
+					<h2>Scrollbar inverts<br />based on slide bg</h2>
+				</section>
+				<section
+					data-auto-animate
+					data-auto-animate-easing="cubic-bezier(0.770, 0.000, 0.175, 1.000)"
+				>
 					<h2>Auto-Animate</h2>
 					<p>Scroll triggered auto-animations 😍</p>
 					<div class="r-hstack justify-center">
-						<div data-id="box1" style="background: #999; width: 50px; height: 50px; margin: 10px; border-radius: 5px;"></div>
-						<div data-id="box2" style="background: #999; width: 50px; height: 50px; margin: 10px; border-radius: 5px;"></div>
-						<div data-id="box3" style="background: #999; width: 50px; height: 50px; margin: 10px; border-radius: 5px;"></div>
+						<div
+							data-id="box1"
+							style="background: #999; width: 50px; height: 50px; margin: 10px; border-radius: 5px"
+						></div>
+						<div
+							data-id="box2"
+							style="background: #999; width: 50px; height: 50px; margin: 10px; border-radius: 5px"
+						></div>
+						<div
+							data-id="box3"
+							style="background: #999; width: 50px; height: 50px; margin: 10px; border-radius: 5px"
+						></div>
 					</div>
 				</section>
-				<section data-auto-animate data-auto-animate-easing="cubic-bezier(0.770, 0.000, 0.175, 1.000)">
+				<section
+					data-auto-animate
+					data-auto-animate-easing="cubic-bezier(0.770, 0.000, 0.175, 1.000)"
+				>
 					<div class="r-hstack justify-center">
-						<div data-id="box1" data-auto-animate-delay="0" style="background: cyan; width: 150px; height: 100px; margin: 10px;"></div>
-						<div data-id="box2" data-auto-animate-delay="0.1" style="background: magenta; width: 150px; height: 100px; margin: 10px;"></div>
-						<div data-id="box3" data-auto-animate-delay="0.2" style="background: yellow; width: 150px; height: 100px; margin: 10px;"></div>
+						<div
+							data-id="box1"
+							data-auto-animate-delay="0"
+							style="background: cyan; width: 150px; height: 100px; margin: 10px"
+						></div>
+						<div
+							data-id="box2"
+							data-auto-animate-delay="0.1"
+							style="background: magenta; width: 150px; height: 100px; margin: 10px"
+						></div>
+						<div
+							data-id="box3"
+							data-auto-animate-delay="0.2"
+							style="background: yellow; width: 150px; height: 100px; margin: 10px"
+						></div>
 					</div>
-					<h2 style="margin-top: 20px;">Auto-Animate</h2>
+					<h2 style="margin-top: 20px">Auto-Animate</h2>
 				</section>
-				<section data-auto-animate data-auto-animate-easing="cubic-bezier(0.770, 0.000, 0.175, 1.000)">
+				<section
+					data-auto-animate
+					data-auto-animate-easing="cubic-bezier(0.770, 0.000, 0.175, 1.000)"
+				>
 					<div class="r-stack">
-						<div data-id="box1" style="background: cyan; width: 300px; height: 300px; border-radius: 200px;"></div>
-						<div data-id="box2" style="background: magenta; width: 200px; height: 200px; border-radius: 200px;"></div>
-						<div data-id="box3" style="background: yellow; width: 100px; height: 100px; border-radius: 200px;"></div>
+						<div
+							data-id="box1"
+							style="background: cyan; width: 300px; height: 300px; border-radius: 200px"
+						></div>
+						<div
+							data-id="box2"
+							style="background: magenta; width: 200px; height: 200px; border-radius: 200px"
+						></div>
+						<div
+							data-id="box3"
+							style="background: yellow; width: 100px; height: 100px; border-radius: 200px"
+						></div>
 					</div>
-					<h2 style="margin-top: 20px;">Auto-Animate</h2>
+					<h2 style="margin-top: 20px">Auto-Animate</h2>
 				</section>
-				<section data-background-gradient="linear-gradient(to bottom, #283b95, #17b2c3)" id="gradient-bg">
+				<section
+					data-background-gradient="linear-gradient(to bottom, #283b95, #17b2c3)"
+					id="gradient-bg"
+				>
 					<h2 data-id="code-title">Code highlights,<br />meet scroll triggers</h2>
-					<pre data-id="code-animation"><code class="hljs javascript" data-trim data-line-numbers="|4,8-11|17|22-24"><script type="text/template">
+					<pre
+						data-id="code-animation"
+					><code class="hljs javascript" data-trim data-line-numbers="|4,8-11|17|22-24"><script type="text/template">
 						import React, { useState } from 'react';
 
 						function Example() {
@@ -88,33 +133,34 @@
 					</script></code></pre>
 				</section>
 				<section class="stack">
-          <section data-background="https://static.slid.es/reveal/image-placeholder.png" id="image-bg">
-            <h2>Image Backgrounds</h2>
-          </section>
-          <section data-background-video-muted data-background-video="https://static.slid.es/site/homepage/v1/homepage-video-editor.mp4,https://static.slid.es/site/homepage/v1/homepage-video-editor.webm">
-            <div style="background-color: rgba(0, 0, 0, 0.9); color: #fff; padding: 20px;">
-              <h2>Video background</h2>
-            </div>
-          </section>
-        </section>
+				<section
+					data-background="https://static.slid.es/reveal/image-placeholder.png"
+					id="image-bg"
+				>
+					<h2>Image Backgrounds</h2>
+				</section>
+				<section
+					data-background-video-muted
+					data-background-video="https://s3.amazonaws.com/static.slid.es/site/homepage/v1/homepage-video-editor.mp4,https://s3.amazonaws.com/static.slid.es/site/homepage/v1/homepage-video-editor.webm"
+				>
+					<h2>Video background</h2>
+				</section>
+				</section>
 				<section><h2>The end</h2></section>
-
 			</div>
-
 		</div>
 
 		<script src="../dist/reveal.js"></script>
-		<script src="../plugin/notes/notes.js"></script>
-		<script src="../plugin/markdown/markdown.js"></script>
-		<script src="../plugin/highlight/highlight.js"></script>
+		<script src="../dist/plugin/notes.js"></script>
+		<script src="../dist/plugin/markdown.js"></script>
+		<script src="../dist/plugin/highlight.js"></script>
 		<script>
 			Reveal.initialize({
 				view: 'scroll',
 				hash: true,
 
-				plugins: [ RevealMarkdown, RevealHighlight, RevealNotes ]
+				plugins: [RevealMarkdown, RevealHighlight, RevealNotes],
 			});
 		</script>
-
 	</body>
 </html>

+ 4 - 11
examples/transitions.html

@@ -1,13 +1,12 @@
-<!doctype html>
+<!DOCTYPE html>
 <html lang="en">
-
 	<head>
-		<meta charset="utf-8">
+		<meta charset="utf-8" />
 
 		<title>reveal.js - Slide Transitions</title>
 
-		<link rel="stylesheet" href="../dist/reveal.css">
-		<link rel="stylesheet" href="../dist/theme/white.css" id="theme">
+		<link rel="stylesheet" href="../dist/reveal.css" />
+		<link rel="stylesheet" href="../dist/theme/white.css" id="theme" />
 		<style type="text/css" media="screen">
 			.slides section.has-dark-background,
 			.slides section.has-dark-background h3 {
@@ -21,11 +20,8 @@
 	</head>
 
 	<body>
-
 		<div class="reveal">
-
 			<div class="slides">
-
 				<section>
 					<h3>Default</h3>
 				</section>
@@ -76,9 +72,7 @@
 				<section>
 					<h3>Default</h3>
 				</section>
-
 			</div>
-
 		</div>
 
 		<script src="../dist/reveal.js"></script>
@@ -92,6 +86,5 @@
 				// backgroundTransition: 'slide'
 			});
 		</script>
-
 	</body>
 </html>