-
Notifications
You must be signed in to change notification settings - Fork 0
/
slidetemplate.html
185 lines (159 loc) · 4.91 KB
/
slidetemplate.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>Title</title>
<meta name="author" content="(John Stevenson)"/>
<style type="text/css">
.underline { text-decoration: underline; }
</style>
<link rel="stylesheet" href="file:///k:/reveal.js/css/reveal.css"/>
<link rel="stylesheet" href="file:///k:/reveal.js/css/theme/White.css" id="theme"/>
<!-- If the query includes 'print-pdf', include the PDF print sheet -->
<script>
if( window.location.search.match( /print-pdf/gi ) ) {
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = 'file:///k:/reveal.js/css/print/pdf.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
}
</script>
<meta name="description" content="Title">
</head>
<body>
<div class="reveal">
<div class="slides">
<section id="sec-title-slide"><h1 class="title">Title</h1><h2 class="author">John Stevenson</h2><p class="date">Created: 2018-05-03 周四 23:52</p>
</section>
<section>
<section id="slide-org2e26f67" data-background="./images/leiningen-slide-background.png" data-background-transition="slide">
<h2 id="org2e26f67">Slide with background image</h2>
<p>
<a href="http://www.google.co.uk">hyperlink-text</a>
</p>
<ul class="fragment roll-in">
<li>bulletpoint</li>
<li>dont go crazy</li>
</ul>
</section>
</section>
<section>
<section id="slide-org1aed624">
<h3 id="org1aed624">Sub-slide - srolls vertically from slide above</h3>
<p>
Some source code using hightlits.js
</p>
<div class="org-src-container">
<pre class="src src-clojure"><span style="color: #4f97d7;">(</span><span style="color: #4f97d7; font-weight: bold;">def</span> <span style="color: #7590db;">clojure-devs</span> <span style="color: #9f8766;">"love brackets"</span><span style="color: #4f97d7;">)</span>
</pre>
</div>
</section>
</section>
<section>
<section id="slide-orgdd9c803">
<h2 id="orgdd9c803">Slied with code</h2>
<div class="org-src-container">
<pre class="src src-zsh">git init
</pre>
</div>
</section>
</section>
<section>
<section id="slide-org6292665" data-background="#770000" data-background-transition="slide">
<h2 id="org6292665">Slide with Colour - overriding the theme</h2>
<p>
I love red.
</p>
<p class="fragment hightlight-red">
Hightliht text as a fragment of the slide
</p>
</section>
</section>
<section>
<section id="slide-orgec8477c">
<h3 id="orgec8477c">Fragments in Reveal.js</h3>
<p>
Press the "Down" key on the page or the down arrow to trigger fragments
</p>
<ul class="fragment highlight-blue">
<li>Create</li>
<li>Fragment</li>
<li>At Ease</li>
</ul>
</section>
</section>
<section>
<section id="slide-org9466464">
<h3 id="org9466464">Fragment captions</h3>
<div class="org-src-container">
<label class="org-src-name">The Org text source.</label>
<pre class="src src-org"><span style="color: #9f8766;">#+ATTR_REVEAL: :frag</span>
* Create
* Fragment
* At Ease
</pre>
</div>
</section>
</section>
<section>
<section id="slide-org66b5177" data-state="alert">
<h3 id="org66b5177">Reveal.js Can Alert</h3>
<p>
Change slide style to wake up the sleepy audience.
</p>
</section>
</section>
<section>
<section id="slide-org09d200f">
<h3 id="org09d200f">Reveal frag-idx</h3>
<ul>
<li>I will grow.</li>
<li>I will shrink.</li>
<li>I rolled in.</li>
<li>I will fade out.</li>
<li>I don't fragment.</li>
</ul>
</section>
</section>
</div>
</div>
Ye Zhaoliang
<script src="file:///k:/reveal.js/lib/js/head.min.js"></script>
<script src="file:///k:/reveal.js/js/reveal.js"></script>
<script>
// Full list of configuration options available here:
// https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: true,
progress: true,
history: false,
center: false,
slideNumber: 'c',
rollingLinks: true,
keyboard: true,
overview: true,
width: 1200,
height: 800,
margin: 0.10,
minScale: 0.50,
maxScale: 2.50,
theme: Reveal.getQueryHash().theme, // available themes are in /css/theme
transition: Reveal.getQueryHash().transition || 'Convex', // default/cube/page/concave/zoom/linear/fade/none
transitionSpeed: 'default',
multiplex: {
secret: '', // null if client
id: '', // id, obtained from socket.io server
url: '' // Location of socket.io server
},
// Optional libraries used to extend on reveal.js
dependencies: [
{ src: 'file:///k:/reveal.js/lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: 'file:///k:/reveal.js/plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'file:///k:/reveal.js/plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'file:///k:/reveal.js/plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
{ src: 'file:///k:/reveal.js/plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } }]
});
</script>
</body>
</html>