-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
51 lines (50 loc) · 1.67 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
<!DOCTYPE html>
<html>
<head>
<title>Bluewind</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="remark-slides/remark-template-bw-pres.css"/>
</head>
<body>
<script src="remark-slides/remark-latest.min.js">
</script>
<script>
var fileName = String(location.pathname.split("/").slice(-1)).split(".")[0];
fileName = (fileName == "")?"index":fileName;
remark.macros.scale = function (percentage) {
var url = this;
return '<img src="' + url + '" style="width: ' + percentage + '" />';
};
var slideshow = remark.create({
sourceUrl: fileName+'.md',
// Set the slideshow display ratio
// Default: '4:3'
// Alternatives: '16:9', ...
ratio: '16:9',
// Navigation options
navigation: {
// Enable or disable navigating using scroll
// Default: true
// Alternatives: false
scroll: true,
// Enable or disable navigation using touch
// Default: true
// Alternatives: false
touch: true,
// Enable or disable navigation using click
// Default: false
// Alternatives: true
click: false
},
// Customize slide number label, either using a format string..
slideNumberFormat: '%current%/%total%',
// .. or by using a format function
// slideNumberFormat: function (current, total) {
// return 'Slide ' + current + ' of ' + total;
// },
// Enable or disable counting of incremental slides in the slide counting
countIncrementalSlides: true
});
</script>
</body>
</html>