-
Notifications
You must be signed in to change notification settings - Fork 47
/
index.html
68 lines (57 loc) · 2.21 KB
/
index.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
<!DOCTYPE HTML>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>深入CGO编程</title>
<meta name="author" content="[email protected]">
<meta name="copyright" content="2018 ChaiShushan <chaishushan{AT}gmail.com>. All rights reserved">
<meta name="description" content="深入CGO编程">
<meta name="keywords" content="golang,gopherchina,gopherchina2018,cgo">
<link rel="stylesheet" href="reveal.js-3.6.0/css/reveal.css">
<link rel="stylesheet" href="reveal.js-3.6.0/css/theme/black.css">
<link rel="stylesheet" href="reveal.js-3.6.0/lib/css/zenburn.css">
<link rel="stylesheet" href="style.css">
<script src="reveal.js-3.6.0/lib/js/head.min.js"></script>
<script src="reveal.js-3.6.0/js/reveal.js"></script>
<style>
body:after {
/* content: url(./images/logo.png); */
position: fixed;
bottom: 2em;
left: 3em;
z-index:-1;
}
</style>
</head>
<!-- *** 横向分隔, --- 竖向分隔, Note: 讲稿注释 -->
<div id="main" class="reveal">
<div class="slides">
<section data-markdown="index.md"
data-separator="\n\*\*\*\r?\n"
data-separator-vertical="\n---\r?\n"
data-separator-notes="\n[Nn]ote:">
</section>
</div>
</div>
<script>
Reveal.initialize({
controls: true,
progress: true,
history: true,
center: true,
slideNumber: true,
mouseWheel: true,
rollingLinks: true,
showNotes: false, // hit 's' on your keyboard
transition: 'convex', // none/fade/slide/convex/concave/zoom
// Optional libraries used to extend on reveal.js
dependencies: [
{ src: 'reveal.js-3.6.0/lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: 'reveal.js-3.6.0/plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'reveal.js-3.6.0/plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'reveal.js-3.6.0/plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: 'reveal.js-3.6.0/plugin/zoom-js/zoom.js', async: true },
{ src: 'reveal.js-3.6.0/plugin/notes/notes.js' }
]
});
</script>