mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-08-08 07:36:39 +02:00
fix and format examples decks
This commit is contained in:
@@ -1,14 +1,17 @@
|
|||||||
<!doctype html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8" />
|
||||||
|
|
||||||
<title>reveal.js - 500 slides</title>
|
<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/reveal.css" />
|
||||||
<link rel="stylesheet" href="../dist/theme/black.css">
|
<link rel="stylesheet" href="../dist/theme/black.css" />
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
@@ -519,7 +522,7 @@
|
|||||||
<script src="../dist/reveal.js"></script>
|
<script src="../dist/reveal.js"></script>
|
||||||
<script>
|
<script>
|
||||||
Reveal.initialize({
|
Reveal.initialize({
|
||||||
transition: 'linear'
|
transition: 'linear',
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
@@ -1,27 +1,27 @@
|
|||||||
<!doctype html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8" />
|
||||||
|
|
||||||
<title>reveal.js - Auto Animate</title>
|
<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/reveal.css" />
|
||||||
<link rel="stylesheet" href="../dist/theme/black.css" id="theme">
|
<link rel="stylesheet" href="../dist/theme/black.css" id="theme" />
|
||||||
<link rel="stylesheet" href="../plugin/highlight/monokai.css">
|
<link rel="stylesheet" href="../plugin/highlight/monokai.css" />
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div class="reveal">
|
<div class="reveal">
|
||||||
|
|
||||||
<div class="slides">
|
<div class="slides">
|
||||||
<section data-auto-animate data-auto-animate-unmatched="fade">
|
<section data-auto-animate data-auto-animate-unmatched="fade">
|
||||||
<h3>Auto-Animate Example</h3>
|
<h3>Auto-Animate Example</h3>
|
||||||
<p>This will fade out</p>
|
<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>
|
<pre data-id="code"><code data-line-numbers class="hljs" data-trim>
|
||||||
function Example() {
|
function Example() {
|
||||||
const [count, setCount] = useState(0);
|
const [count, setCount] = useState(0);
|
||||||
@@ -30,9 +30,9 @@
|
|||||||
</section>
|
</section>
|
||||||
<section data-auto-animate data-auto-animate-unmatched="fade">
|
<section data-auto-animate data-auto-animate-unmatched="fade">
|
||||||
<h3>Auto-Animate Example</h3>
|
<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>
|
<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>
|
<pre data-id="code"><code data-line-numbers class="hljs" data-trim>
|
||||||
function Example() {
|
function Example() {
|
||||||
New line!
|
New line!
|
||||||
@@ -42,10 +42,14 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section data-auto-animate>
|
<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>
|
||||||
<section data-auto-animate>
|
<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>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
@@ -125,36 +129,204 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section data-auto-animate style="height: 600px">
|
<section data-auto-animate style="height: 600px">
|
||||||
<h3 style="opacity: 0.3; font-size: 18px;">SLIDE 1</h3>
|
<h3 style="opacity: 0.3; font-size: 18px">SLIDE 1</h3>
|
||||||
<h2 data-id="title" style="margin-top: 260px;">Animate Anything</h2>
|
<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
|
||||||
<div data-id="2" style="background: white; position: absolute; top: 150px; left: 36%; width: 60px; height: 60px;"></div>
|
data-id="1"
|
||||||
<div data-id="3" style="background: white; position: absolute; top: 150px; left: 56%; width: 60px; height: 60px;"></div>
|
style="
|
||||||
<div data-id="4" style="background: white; position: absolute; top: 150px; left: 76%; width: 60px; height: 60px;"></div>
|
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>
|
||||||
<section data-auto-animate style="height: 600px">
|
<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>
|
<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
|
||||||
<div data-id="2" style="background: magenta; position: absolute; bottom: 190px; left: 36%; width: 60px; height: 160px;"></div>
|
data-id="1"
|
||||||
<div data-id="3" style="background: yellow; position: absolute; bottom: 190px; left: 56%; width: 60px; height: 260px;"></div>
|
style="
|
||||||
<div data-id="4" style="background: red; position: absolute; bottom: 190px; left: 76%; width: 60px; height: 360px;"></div>
|
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>
|
||||||
<section data-auto-animate style="height: 600px">
|
<section data-auto-animate style="height: 600px">
|
||||||
<h3 style="opacity: 0.3; font-size: 18px;">SLIDE 3</h3>
|
<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>
|
<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
|
||||||
<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>
|
data-id="1"
|
||||||
<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>
|
style="
|
||||||
<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>
|
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>
|
||||||
<section data-auto-animate style="height: 600px">
|
<section data-auto-animate style="height: 600px">
|
||||||
<h3 style="opacity: 0.3; font-size: 18px;">SLIDE 3</h3>
|
<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>
|
<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
|
||||||
<div data-id="2" style="background: yellow; position: absolute; top: 250px; left: 36%; width: 60px; height: 60px;"></div>
|
data-id="1"
|
||||||
<div data-id="3" style="background: magenta; position: absolute; top: 250px; left: 56%; width: 60px; height: 60px;"></div>
|
style="
|
||||||
<div data-id="4" style="background: cyan; position: absolute; top: 250px; left: 76%; width: 60px; height: 60px;"></div>
|
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>
|
||||||
|
|
||||||
<section data-auto-animate data-auto-animate-id="a">
|
<section data-auto-animate data-auto-animate-id="a">
|
||||||
@@ -178,48 +350,93 @@
|
|||||||
|
|
||||||
<section>
|
<section>
|
||||||
<section id="stacked-slide-1" data-auto-animate>
|
<section id="stacked-slide-1" data-auto-animate>
|
||||||
<a href="#/stacked-slide-1">Slide 1</a><br>
|
<a href="#/stacked-slide-1">Slide 1</a><br />
|
||||||
<a href="#/stacked-slide-2">Slide 2</a><br>
|
<a href="#/stacked-slide-2">Slide 2</a><br />
|
||||||
<a href="#/stacked-slide-3">Slide 3</a><br>
|
<a href="#/stacked-slide-3">Slide 3</a><br />
|
||||||
<a href="#/stacked-slide-4">Slide 4</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>
|
<div
|
||||||
|
data-id="anim"
|
||||||
|
style="
|
||||||
|
background: indigo;
|
||||||
|
padding: 8px;
|
||||||
|
width: 50px;
|
||||||
|
height: 50px;
|
||||||
|
position: absolute;
|
||||||
|
left: 0px;
|
||||||
|
"
|
||||||
|
>
|
||||||
|
A
|
||||||
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section id="stacked-slide-2" data-auto-animate>
|
<section id="stacked-slide-2" data-auto-animate>
|
||||||
<a href="#/stacked-slide-1">Slide 1</a><br>
|
<a href="#/stacked-slide-1">Slide 1</a><br />
|
||||||
<a href="#/stacked-slide-2">Slide 2</a><br>
|
<a href="#/stacked-slide-2">Slide 2</a><br />
|
||||||
<a href="#/stacked-slide-3">Slide 3</a><br>
|
<a href="#/stacked-slide-3">Slide 3</a><br />
|
||||||
<a href="#/stacked-slide-4">Slide 4</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>
|
<div
|
||||||
|
data-id="anim"
|
||||||
|
style="
|
||||||
|
background: indigo;
|
||||||
|
padding: 8px;
|
||||||
|
width: 50px;
|
||||||
|
height: 50px;
|
||||||
|
position: absolute;
|
||||||
|
left: 25%;
|
||||||
|
"
|
||||||
|
>
|
||||||
|
A
|
||||||
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section id="stacked-slide-3" data-auto-animate>
|
<section id="stacked-slide-3" data-auto-animate>
|
||||||
<a href="#/stacked-slide-1">Slide 1</a><br>
|
<a href="#/stacked-slide-1">Slide 1</a><br />
|
||||||
<a href="#/stacked-slide-2">Slide 2</a><br>
|
<a href="#/stacked-slide-2">Slide 2</a><br />
|
||||||
<a href="#/stacked-slide-3">Slide 3</a><br>
|
<a href="#/stacked-slide-3">Slide 3</a><br />
|
||||||
<a href="#/stacked-slide-4">Slide 4</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>
|
<div
|
||||||
|
data-id="anim"
|
||||||
|
style="
|
||||||
|
background: indigo;
|
||||||
|
padding: 8px;
|
||||||
|
width: 50px;
|
||||||
|
height: 50px;
|
||||||
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
|
"
|
||||||
|
>
|
||||||
|
A
|
||||||
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section id="stacked-slide-4" data-auto-animate>
|
<section id="stacked-slide-4" data-auto-animate>
|
||||||
<a href="#/stacked-slide-1">Slide 1</a><br>
|
<a href="#/stacked-slide-1">Slide 1</a><br />
|
||||||
<a href="#/stacked-slide-2">Slide 2</a><br>
|
<a href="#/stacked-slide-2">Slide 2</a><br />
|
||||||
<a href="#/stacked-slide-3">Slide 3</a><br>
|
<a href="#/stacked-slide-3">Slide 3</a><br />
|
||||||
<a href="#/stacked-slide-4">Slide 4</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>
|
<div
|
||||||
|
data-id="anim"
|
||||||
|
style="
|
||||||
|
background: indigo;
|
||||||
|
padding: 8px;
|
||||||
|
width: 50px;
|
||||||
|
height: 50px;
|
||||||
|
position: absolute;
|
||||||
|
left: 75%;
|
||||||
|
"
|
||||||
|
>
|
||||||
|
A
|
||||||
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="../dist/reveal.js"></script>
|
<script src="../dist/reveal.js"></script>
|
||||||
<script src="../plugin/highlight/highlight.js"></script>
|
<script src="../dist/plugin/highlight.js"></script>
|
||||||
<script>
|
<script>
|
||||||
Reveal.initialize({
|
Reveal.initialize({
|
||||||
center: true,
|
center: true,
|
||||||
hash: true,
|
hash: true,
|
||||||
plugins: [ RevealHighlight ]
|
plugins: [RevealHighlight],
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -1,15 +1,17 @@
|
|||||||
<!doctype html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8" />
|
||||||
|
|
||||||
<title>reveal.js - Slide Backgrounds</title>
|
<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/reveal.css" />
|
||||||
<link rel="stylesheet" href="../dist/theme/serif.css" id="theme">
|
<link rel="stylesheet" href="../dist/theme/serif.css" id="theme" />
|
||||||
<style type="text/css" media="screen">
|
<style type="text/css" media="screen">
|
||||||
.slides section.has-dark-background,
|
.slides section.has-dark-background,
|
||||||
.slides section.has-dark-background h2 {
|
.slides section.has-dark-background h2 {
|
||||||
@@ -23,11 +25,8 @@
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div class="reveal">
|
<div class="reveal">
|
||||||
|
|
||||||
<div class="slides">
|
<div class="slides">
|
||||||
|
|
||||||
<section data-background="#00ffff">
|
<section data-background="#00ffff">
|
||||||
<h2>data-background: #00ffff</h2>
|
<h2>data-background: #00ffff</h2>
|
||||||
</section>
|
</section>
|
||||||
@@ -77,9 +76,16 @@
|
|||||||
</section>
|
</section>
|
||||||
</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>
|
<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>
|
||||||
|
|
||||||
<section data-background="#888888">
|
<section data-background="#888888">
|
||||||
@@ -93,7 +99,9 @@
|
|||||||
<h2>Video background</h2>
|
<h2>Video background</h2>
|
||||||
</section>
|
</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>
|
<h2>Iframe background</h2>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
@@ -117,14 +125,11 @@
|
|||||||
<h2>Same background from horizontal to vertical (3/3)</h2>
|
<h2>Same background from horizontal to vertical (3/3)</h2>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="../dist/reveal.js"></script>
|
<script src="../dist/reveal.js"></script>
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
// Full list of configuration options:
|
// Full list of configuration options:
|
||||||
// https://revealjs.revealjs.com/config/
|
// https://revealjs.revealjs.com/config/
|
||||||
Reveal.initialize({
|
Reveal.initialize({
|
||||||
@@ -134,8 +139,6 @@
|
|||||||
// transitionSpeed: 'slow',
|
// transitionSpeed: 'slow',
|
||||||
// backgroundTransition: 'slide'
|
// backgroundTransition: 'slide'
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -1,25 +1,25 @@
|
|||||||
<!doctype html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8" />
|
||||||
<title>reveal.js - Barebones</title>
|
<title>reveal.js - Barebones</title>
|
||||||
<link rel="stylesheet" href="../dist/reveal.css">
|
<link rel="stylesheet" href="../dist/reveal.css" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div class="reveal">
|
<div class="reveal">
|
||||||
<div class="slides">
|
<div class="slides">
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<h2>Barebones Presentation</h2>
|
<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>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<h2>No Theme</h2>
|
<h2>No Theme</h2>
|
||||||
<p>There's no theme included, so it will fall back on browser defaults.</p>
|
<p>There's no theme included, so it will fall back on browser defaults.</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -27,6 +27,5 @@
|
|||||||
<script>
|
<script>
|
||||||
Reveal.initialize();
|
Reveal.initialize();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -1,24 +1,23 @@
|
|||||||
<!doctype html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8" />
|
||||||
|
|
||||||
<title>reveal.js - Layout Helpers</title>
|
<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/reveal.css" />
|
||||||
<link rel="stylesheet" href="../dist/theme/white.css" id="theme">
|
<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>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div class="reveal">
|
<div class="reveal">
|
||||||
|
|
||||||
<div class="slides">
|
<div class="slides">
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<h2>Layout Helper Examples</h2>
|
<h2>Layout Helper Examples</h2>
|
||||||
<ul>
|
<ul>
|
||||||
@@ -59,7 +58,7 @@
|
|||||||
|
|
||||||
<section>
|
<section>
|
||||||
<h2>Stretch Example</h2>
|
<h2>Stretch Example</h2>
|
||||||
<img src="assets/image2.png" class="r-stretch">
|
<img src="assets/image2.png" class="r-stretch" />
|
||||||
<p>Image byline</p>
|
<p>Image byline</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
@@ -84,9 +83,9 @@
|
|||||||
<p class="fragment fade-in-then-out">Four</p>
|
<p class="fragment fade-in-then-out">Four</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="r-stack">
|
<div class="r-stack">
|
||||||
<img src="https://placekitten.com/450/300" width="450" height="300" 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/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/400/400" width="400" height="400" class="fragment" />
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
@@ -94,9 +93,24 @@
|
|||||||
<h2>Stack Example</h2>
|
<h2>Stack Example</h2>
|
||||||
<p>fade-in-then-out fragments</p>
|
<p>fade-in-then-out fragments</p>
|
||||||
<div class="r-stack">
|
<div class="r-stack">
|
||||||
<img src="https://placekitten.com/450/300" width="450" height="300" class="fragment fade-in-then-out">
|
<img
|
||||||
<img src="https://placekitten.com/300/450" width="300" height="450" class="fragment fade-in-then-out">
|
src="https://placekitten.com/450/300"
|
||||||
<img src="https://placekitten.com/400/400" width="400" height="400" class="fragment fade-in-then-out">
|
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>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
@@ -115,9 +129,9 @@
|
|||||||
<section data-auto-animate>
|
<section data-auto-animate>
|
||||||
<h2>HStack Example</h2>
|
<h2>HStack Example</h2>
|
||||||
<div class="r-hstack">
|
<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: 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>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
@@ -136,25 +150,22 @@
|
|||||||
<section data-auto-animate>
|
<section data-auto-animate>
|
||||||
<h2>VStack Example</h2>
|
<h2>VStack Example</h2>
|
||||||
<div class="r-vstack">
|
<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: 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>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="../dist/reveal.js"></script>
|
<script src="../dist/reveal.js"></script>
|
||||||
<script src="../plugin/highlight/highlight.js"></script>
|
<script src="../dist/plugin/highlight.js"></script>
|
||||||
<script>
|
<script>
|
||||||
Reveal.initialize({
|
Reveal.initialize({
|
||||||
center: true,
|
center: true,
|
||||||
hash: true,
|
hash: true,
|
||||||
plugins: [ RevealHighlight ]
|
plugins: [RevealHighlight],
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -1,132 +1,133 @@
|
|||||||
<!doctype html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8" />
|
||||||
|
|
||||||
<title>reveal.js - Markdown Example</title>
|
<title>reveal.js - Markdown Example</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="../dist/reveal.css">
|
<link rel="stylesheet" href="../dist/reveal.css" />
|
||||||
<link rel="stylesheet" href="../dist/theme/white.css" id="theme">
|
<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>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div class="reveal">
|
<div class="reveal">
|
||||||
|
|
||||||
<div class="slides">
|
<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>
|
||||||
|
|
||||||
<!-- Use external markdown resource, separate slides by three newlines; vertical slides by two newlines -->
|
<!-- Slides are separated by three dashes (the default) -->
|
||||||
<section data-markdown="markdown.md" data-separator="^\n\n\n" data-separator-vertical="^\n\n"></section>
|
<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 three dashes (the default) -->
|
<!-- Slides are separated by regexp matching newline + three dashes + newline, vertical slides identical but two dashes -->
|
||||||
<section data-markdown>
|
<section data-markdown data-separator="^\n---\n$" data-separator-vertical="^\n--\n$">
|
||||||
<script type="text/template">
|
<script type="text/template">
|
||||||
## Demo 1
|
## Demo 2
|
||||||
Slide 1
|
Slide 1.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 1.2
|
|
||||||
|
|
||||||
---
|
## Demo 2
|
||||||
|
Slide 2
|
||||||
|
</script>
|
||||||
|
</section>
|
||||||
|
|
||||||
## Demo 2
|
<!-- No "extra" slides, since the separator can't be matched ("---" will become horizontal rulers) -->
|
||||||
Slide 2
|
<section data-markdown data-separator="$x">
|
||||||
</script>
|
<script type="text/template">
|
||||||
</section>
|
A
|
||||||
|
|
||||||
<!-- 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
|
||||||
|
|
||||||
B
|
---
|
||||||
|
|
||||||
---
|
C
|
||||||
|
</script>
|
||||||
|
</section>
|
||||||
|
|
||||||
C
|
<!-- Slide attributes -->
|
||||||
</script>
|
<section data-markdown>
|
||||||
</section>
|
<script type="text/template">
|
||||||
|
<!-- .slide: data-background="#000000" -->
|
||||||
|
## Slide attributes
|
||||||
|
</script>
|
||||||
|
</section>
|
||||||
|
|
||||||
<!-- Slide attributes -->
|
<!-- Element attributes -->
|
||||||
<section data-markdown>
|
<section data-markdown>
|
||||||
<script type="text/template">
|
<script type="text/template">
|
||||||
<!-- .slide: data-background="#000000" -->
|
## Element attributes
|
||||||
## Slide attributes
|
- Item 1 <!-- .element: class="fragment" data-fragment-index="2" -->
|
||||||
</script>
|
- Item 2 <!-- .element: class="fragment" data-fragment-index="1" -->
|
||||||
</section>
|
</script>
|
||||||
|
</section>
|
||||||
|
|
||||||
<!-- Element attributes -->
|
<!-- Code -->
|
||||||
<section data-markdown>
|
<section data-markdown>
|
||||||
<script type="text/template">
|
<script type="text/template">
|
||||||
## Element attributes
|
```php [1|3-5]
|
||||||
- Item 1 <!-- .element: class="fragment" data-fragment-index="2" -->
|
public function foo()
|
||||||
- Item 2 <!-- .element: class="fragment" data-fragment-index="1" -->
|
{
|
||||||
</script>
|
$foo = array(
|
||||||
</section>
|
'bar' => 'bar'
|
||||||
|
)
|
||||||
|
}
|
||||||
|
```
|
||||||
|
</script>
|
||||||
|
</section>
|
||||||
|
|
||||||
<!-- Code -->
|
<!-- add optional line count offset, in this case 287 -->
|
||||||
<section data-markdown>
|
<section data-markdown>
|
||||||
<script type="text/template">
|
<script type="text/template">
|
||||||
```php [1|3-5]
|
## echo.c
|
||||||
public function foo()
|
|
||||||
{
|
|
||||||
$foo = array(
|
|
||||||
'bar' => 'bar'
|
|
||||||
)
|
|
||||||
}
|
|
||||||
```
|
|
||||||
</script>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<!-- add optional line count offset, in this case 287 -->
|
```c [287: 2|4,6]
|
||||||
<section data-markdown>
|
/* All of the options in this arg are valid, so handle them. */
|
||||||
<script type="text/template">
|
p = arg + 1;
|
||||||
## echo.c
|
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>
|
||||||
|
|
||||||
```c [287: 2|4,6]
|
<!-- Images -->
|
||||||
/* All of the options in this arg are valid, so handle them. */
|
<section data-markdown>
|
||||||
p = arg + 1;
|
<script type="text/template">
|
||||||
do {
|

|
||||||
if (*p == 'n')
|
</script>
|
||||||
nflag = 0;
|
</section>
|
||||||
if (*p == 'e')
|
|
||||||
eflag = '\\';
|
|
||||||
} while (*++p);
|
|
||||||
```
|
|
||||||
[source](https://git.busybox.net/busybox/tree/coreutils/echo.c?h=1_36_stable#n287)
|
|
||||||
</script>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<!-- Images -->
|
<!-- Math, prettier-ignore -->
|
||||||
<section data-markdown>
|
<!-- prettier-ignore -->
|
||||||
<script type="text/template">
|
<section data-markdown>
|
||||||

|
|
||||||
</script>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<!-- Math -->
|
|
||||||
<section data-markdown>
|
|
||||||
## The Lorenz Equations
|
## The Lorenz Equations
|
||||||
`\[\begin{aligned}
|
`\[\begin{aligned}
|
||||||
\dot{x} & = \sigma(y-x) \\
|
\dot{x} & = \sigma(y-x) \\
|
||||||
@@ -134,28 +135,25 @@
|
|||||||
\dot{z} & = -\beta z + xy
|
\dot{z} & = -\beta z + xy
|
||||||
\end{aligned} \]`
|
\end{aligned} \]`
|
||||||
</section>
|
</section>
|
||||||
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="../dist/reveal.js"></script>
|
<script src="../dist/reveal.js"></script>
|
||||||
<script src="../plugin/markdown/markdown.js"></script>
|
<script src="../dist/reveal.js"></script>
|
||||||
<script src="../plugin/highlight/highlight.js"></script>
|
<script src="../dist/plugin/markdown.js"></script>
|
||||||
<script src="../plugin/notes/notes.js"></script>
|
<script src="../dist/plugin/highlight.js"></script>
|
||||||
<script src="../plugin/math/math.js"></script>
|
<script src="../dist/plugin/notes.js"></script>
|
||||||
|
<script src="../dist/plugin/math.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
Reveal.initialize({
|
Reveal.initialize({
|
||||||
controls: true,
|
controls: true,
|
||||||
progress: true,
|
progress: true,
|
||||||
history: true,
|
history: true,
|
||||||
center: true,
|
center: true,
|
||||||
|
|
||||||
plugins: [ RevealMarkdown, RevealHighlight, RevealNotes, RevealMath.KaTeX ]
|
plugins: [RevealMarkdown, RevealHighlight, RevealNotes, RevealMath.KaTeX],
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -1,21 +1,22 @@
|
|||||||
<!doctype html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8" />
|
||||||
|
|
||||||
<title>reveal.js - Math Plugin</title>
|
<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/reveal.css" />
|
||||||
<link rel="stylesheet" href="../dist/theme/night.css" id="theme">
|
<link rel="stylesheet" href="../dist/theme/night.css" id="theme" />
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div class="reveal">
|
<div class="reveal">
|
||||||
|
<!-- prettier-ignore -->
|
||||||
<div class="slides">
|
<div class="slides">
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
@@ -26,6 +27,7 @@
|
|||||||
<section>
|
<section>
|
||||||
<h3>The Lorenz Equations</h3>
|
<h3>The Lorenz Equations</h3>
|
||||||
|
|
||||||
|
<!-- prettier-ignore -->
|
||||||
\[\begin{aligned}
|
\[\begin{aligned}
|
||||||
\dot{x} & = \sigma(y-x) \\
|
\dot{x} & = \sigma(y-x) \\
|
||||||
\dot{y} & = \rho x - y - xz \\
|
\dot{y} & = \rho x - y - xz \\
|
||||||
@@ -172,11 +174,10 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="../dist/reveal.js"></script>
|
<script src="../dist/reveal.js"></script>
|
||||||
<script src="../plugin/math/math.js"></script>
|
<script src="../dist/plugin/math.js"></script>
|
||||||
<script>
|
<script>
|
||||||
Reveal.initialize({
|
Reveal.initialize({
|
||||||
history: true,
|
history: true,
|
||||||
@@ -187,9 +188,9 @@
|
|||||||
TeX: {
|
TeX: {
|
||||||
Macros: {
|
Macros: {
|
||||||
R: '\\mathbb{R}',
|
R: '\\mathbb{R}',
|
||||||
set: [ '\\left\\{#1 \\; ; \\; #2\\right\\}', 2 ]
|
set: ['\\left\\{#1 \\; ; \\; #2\\right\\}', 2],
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
// There are three typesetters available
|
// There are three typesetters available
|
||||||
@@ -198,9 +199,8 @@
|
|||||||
// RevealMath.KaTeX
|
// RevealMath.KaTeX
|
||||||
//
|
//
|
||||||
// More info at https://revealjs.com/math/
|
// More info at https://revealjs.com/math/
|
||||||
plugins: [ RevealMath.MathJax2 ]
|
plugins: [RevealMath.MathJax2],
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -1,34 +1,42 @@
|
|||||||
<!doctype html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8" />
|
||||||
|
|
||||||
<title>reveal.js - Video, Audio and Iframes</title>
|
<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/reveal.css" />
|
||||||
<link rel="stylesheet" href="../dist/theme/white.css" id="theme">
|
<link rel="stylesheet" href="../dist/theme/white.css" id="theme" />
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div class="reveal">
|
<div class="reveal">
|
||||||
|
|
||||||
<div class="slides">
|
<div class="slides">
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<h2>Examples of embedded Video, Audio and Iframes</h2>
|
<h2>Examples of embedded Video, Audio and Iframes</h2>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<h2>Iframe</h2>
|
<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>
|
||||||
|
|
||||||
<section data-background-iframe="https://www.youtube.com/embed/h1_nyI3z8gI" data-background-interactive>
|
<section
|
||||||
<h2 style="color: #fff;">Iframe Background</h2>
|
data-background-iframe="https://www.youtube.com/embed/h1_nyI3z8gI"
|
||||||
|
data-background-interactive
|
||||||
|
>
|
||||||
|
<h2 style="color: #fff">Iframe Background</h2>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
@@ -61,15 +69,12 @@
|
|||||||
<h2>Audio with controls</h2>
|
<h2>Audio with controls</h2>
|
||||||
<audio src="assets/beeping.wav" controls></audio>
|
<audio src="assets/beeping.wav" controls></audio>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="../dist/reveal.js"></script>
|
<script src="../dist/reveal.js"></script>
|
||||||
<script>
|
<script>
|
||||||
Reveal.initialize({hash: true});
|
Reveal.initialize({ hash: true });
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -1,22 +1,23 @@
|
|||||||
<!doctype html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8" />
|
||||||
|
|
||||||
<title>reveal.js - Multiple Presentations</title>
|
<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/reveal.css" />
|
||||||
<link rel="stylesheet" href="../dist/theme/white.css" id="theme">
|
<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>
|
</head>
|
||||||
|
|
||||||
<body style="background: #ddd;">
|
<body style="background: #ddd">
|
||||||
|
<div style="display: flex; flex-direction: row">
|
||||||
<div style="display: flex; flex-direction: row;">
|
<div class="reveal deck1" style="width: 100%; height: 50vh; margin: 10px">
|
||||||
<div class="reveal deck1" style="width: 100%; height: 50vh; margin: 10px;">
|
|
||||||
<div class="slides">
|
<div class="slides">
|
||||||
<section>Deck 1, Slide 1</section>
|
<section>Deck 1, Slide 1</section>
|
||||||
<section>Deck 1, Slide 2</section>
|
<section>Deck 1, Slide 2</section>
|
||||||
@@ -31,7 +32,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</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">
|
<div class="slides">
|
||||||
<section>Deck 2, Slide 1</section>
|
<section>Deck 2, Slide 1</section>
|
||||||
<section>Deck 2, Slide 2</section>
|
<section>Deck 2, Slide 2</section>
|
||||||
@@ -47,6 +48,7 @@
|
|||||||
<section>
|
<section>
|
||||||
<h3>The Lorenz Equations</h3>
|
<h3>The Lorenz Equations</h3>
|
||||||
|
|
||||||
|
<!-- prettier-ignore -->
|
||||||
\[\begin{aligned}
|
\[\begin{aligned}
|
||||||
\dot{x} & = \sigma(y-x) \\
|
\dot{x} & = \sigma(y-x) \\
|
||||||
\dot{y} & = \rho x - y - xz \\
|
\dot{y} & = \rho x - y - xz \\
|
||||||
@@ -67,36 +69,33 @@
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script src="../dist/reveal.js"></script>
|
<script src="../dist/reveal.js"></script>
|
||||||
<script src="../plugin/highlight/highlight.js"></script>
|
<script src="../dist/plugin/highlight.js"></script>
|
||||||
<script src="../plugin/markdown/markdown.js"></script>
|
<script src="../dist/plugin/markdown.js"></script>
|
||||||
<script src="../plugin/math/math.js"></script>
|
<script src="../dist/plugin/math.js"></script>
|
||||||
<script>
|
<script>
|
||||||
|
let deck1 = new Reveal(document.querySelector('.deck1'), {
|
||||||
let deck1 = new Reveal( document.querySelector( '.deck1' ), {
|
|
||||||
embedded: true,
|
embedded: true,
|
||||||
progress: false,
|
progress: false,
|
||||||
keyboardCondition: 'focused',
|
keyboardCondition: 'focused',
|
||||||
plugins: [ RevealHighlight ]
|
plugins: [RevealHighlight],
|
||||||
} );
|
});
|
||||||
deck1.on( 'slidechanged', () => {
|
deck1.on('slidechanged', () => {
|
||||||
console.log( 'Deck 1 slide changed' );
|
console.log('Deck 1 slide changed');
|
||||||
} );
|
});
|
||||||
deck1.initialize();
|
deck1.initialize();
|
||||||
|
|
||||||
let deck2 = new Reveal( document.querySelector( '.deck2' ), {
|
let deck2 = new Reveal(document.querySelector('.deck2'), {
|
||||||
embedded: true,
|
embedded: true,
|
||||||
progress: false,
|
progress: false,
|
||||||
keyboardCondition: 'focused',
|
keyboardCondition: 'focused',
|
||||||
plugins: [ RevealMarkdown, RevealMath ]
|
plugins: [RevealMarkdown, RevealMath],
|
||||||
} );
|
});
|
||||||
deck2.initialize().then( () => {
|
deck2.initialize().then(() => {
|
||||||
deck2.slide(1);
|
deck2.slide(1);
|
||||||
} );
|
});
|
||||||
deck2.on( 'slidechanged', () => {
|
deck2.on('slidechanged', () => {
|
||||||
console.log( 'Deck 2 slide changed' );
|
console.log('Deck 2 slide changed');
|
||||||
} );
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -1,25 +1,24 @@
|
|||||||
<!doctype html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8" />
|
||||||
|
|
||||||
<title>reveal.js - Scroll View</title>
|
<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/reset.css" />
|
||||||
<link rel="stylesheet" href="../dist/reveal.css">
|
<link rel="stylesheet" href="../dist/reveal.css" />
|
||||||
<link rel="stylesheet" href="../dist/theme/black.css" id="theme">
|
<link rel="stylesheet" href="../dist/theme/black.css" id="theme" />
|
||||||
<link rel="stylesheet" href="../plugin/highlight/monokai.css">
|
<link rel="stylesheet" href="../dist/plugin/highlight/monokai.css" />
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div class="reveal">
|
<div class="reveal">
|
||||||
|
|
||||||
<div class="slides">
|
<div class="slides">
|
||||||
|
|
||||||
<section><h1>Scroll View</h1></section>
|
<section><h1>Scroll View</h1></section>
|
||||||
<section data-background="indigo">
|
<section data-background="indigo">
|
||||||
<h2>Scroll triggered fragments</h2>
|
<h2>Scroll triggered fragments</h2>
|
||||||
@@ -29,35 +28,81 @@
|
|||||||
<li class="fragment fade-left">Step three</li>
|
<li class="fragment fade-left">Step three</li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
<section data-background-color="#fff"><h2>Scrollbar inverts<br>based on slide bg</h2></section>
|
<section data-background-color="#fff">
|
||||||
<section data-auto-animate data-auto-animate-easing="cubic-bezier(0.770, 0.000, 0.175, 1.000)">
|
<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>
|
<h2>Auto-Animate</h2>
|
||||||
<p>Scroll triggered auto-animations 😍</p>
|
<p>Scroll triggered auto-animations 😍</p>
|
||||||
<div class="r-hstack justify-center">
|
<div class="r-hstack justify-center">
|
||||||
<div data-id="box1" style="background: #999; width: 50px; height: 50px; margin: 10px; border-radius: 5px;"></div>
|
<div
|
||||||
<div data-id="box2" style="background: #999; width: 50px; height: 50px; margin: 10px; border-radius: 5px;"></div>
|
data-id="box1"
|
||||||
<div data-id="box3" style="background: #999; width: 50px; height: 50px; margin: 10px; border-radius: 5px;"></div>
|
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>
|
</div>
|
||||||
</section>
|
</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 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
|
||||||
<div data-id="box2" data-auto-animate-delay="0.1" style="background: magenta; width: 150px; height: 100px; margin: 10px;"></div>
|
data-id="box1"
|
||||||
<div data-id="box3" data-auto-animate-delay="0.2" style="background: yellow; width: 150px; height: 100px; margin: 10px;"></div>
|
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>
|
</div>
|
||||||
<h2 style="margin-top: 20px;">Auto-Animate</h2>
|
<h2 style="margin-top: 20px">Auto-Animate</h2>
|
||||||
</section>
|
</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 class="r-stack">
|
||||||
<div data-id="box1" style="background: cyan; width: 300px; height: 300px; border-radius: 200px;"></div>
|
<div
|
||||||
<div data-id="box2" style="background: magenta; width: 200px; height: 200px; border-radius: 200px;"></div>
|
data-id="box1"
|
||||||
<div data-id="box3" style="background: yellow; width: 100px; height: 100px; border-radius: 200px;"></div>
|
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>
|
</div>
|
||||||
<h2 style="margin-top: 20px;">Auto-Animate</h2>
|
<h2 style="margin-top: 20px">Auto-Animate</h2>
|
||||||
</section>
|
</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>
|
<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';
|
import React, { useState } from 'react';
|
||||||
|
|
||||||
function Example() {
|
function Example() {
|
||||||
@@ -88,33 +133,34 @@
|
|||||||
</script></code></pre>
|
</script></code></pre>
|
||||||
</section>
|
</section>
|
||||||
<section class="stack">
|
<section class="stack">
|
||||||
<section data-background="https://static.slid.es/reveal/image-placeholder.png" id="image-bg">
|
<section
|
||||||
<h2>Image Backgrounds</h2>
|
data-background="https://static.slid.es/reveal/image-placeholder.png"
|
||||||
</section>
|
id="image-bg"
|
||||||
<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>Image Backgrounds</h2>
|
||||||
<h2>Video background</h2>
|
</section>
|
||||||
</div>
|
<section
|
||||||
</section>
|
data-background-video-muted
|
||||||
</section>
|
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>
|
<section><h2>The end</h2></section>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="../dist/reveal.js"></script>
|
<script src="../dist/reveal.js"></script>
|
||||||
<script src="../plugin/notes/notes.js"></script>
|
<script src="../dist/plugin/notes.js"></script>
|
||||||
<script src="../plugin/markdown/markdown.js"></script>
|
<script src="../dist/plugin/markdown.js"></script>
|
||||||
<script src="../plugin/highlight/highlight.js"></script>
|
<script src="../dist/plugin/highlight.js"></script>
|
||||||
<script>
|
<script>
|
||||||
Reveal.initialize({
|
Reveal.initialize({
|
||||||
view: 'scroll',
|
view: 'scroll',
|
||||||
hash: true,
|
hash: true,
|
||||||
|
|
||||||
plugins: [ RevealMarkdown, RevealHighlight, RevealNotes ]
|
plugins: [RevealMarkdown, RevealHighlight, RevealNotes],
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -1,13 +1,12 @@
|
|||||||
<!doctype html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8" />
|
||||||
|
|
||||||
<title>reveal.js - Slide Transitions</title>
|
<title>reveal.js - Slide Transitions</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="../dist/reveal.css">
|
<link rel="stylesheet" href="../dist/reveal.css" />
|
||||||
<link rel="stylesheet" href="../dist/theme/white.css" id="theme">
|
<link rel="stylesheet" href="../dist/theme/white.css" id="theme" />
|
||||||
<style type="text/css" media="screen">
|
<style type="text/css" media="screen">
|
||||||
.slides section.has-dark-background,
|
.slides section.has-dark-background,
|
||||||
.slides section.has-dark-background h3 {
|
.slides section.has-dark-background h3 {
|
||||||
@@ -21,11 +20,8 @@
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div class="reveal">
|
<div class="reveal">
|
||||||
|
|
||||||
<div class="slides">
|
<div class="slides">
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<h3>Default</h3>
|
<h3>Default</h3>
|
||||||
</section>
|
</section>
|
||||||
@@ -76,9 +72,7 @@
|
|||||||
<section>
|
<section>
|
||||||
<h3>Default</h3>
|
<h3>Default</h3>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="../dist/reveal.js"></script>
|
<script src="../dist/reveal.js"></script>
|
||||||
@@ -92,6 +86,5 @@
|
|||||||
// backgroundTransition: 'slide'
|
// backgroundTransition: 'slide'
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Reference in New Issue
Block a user