-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathindex-pdf.html
87 lines (73 loc) · 2.65 KB
/
index-pdf.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
<!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/white.css">
<link rel="stylesheet" href="reveal.js-3.6.0/lib/css/zenburn.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>
<script>
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match( /print-pdf/gi ) ? 'reveal.js-3.6.0/css/print/pdf.css' : 'reveal.js-3.6.0/css/print/pdf.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
</script>
<style>
body:after {
/* content: url(./images/logo.png); */
position: fixed;
bottom: 2em;
left: 3em;
}
.reveal h1,
.reveal h2,
.reveal h3,
.reveal h4,
.reveal h5,
.reveal h6 { text-transform: none; }
</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({
width: 960,
height: 700,
margin: 0.1,
minScale: 0.2,
maxScale: 1.5,
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>