-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathslides.html
66 lines (65 loc) · 1.5 KB
/
slides.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
<!DOCTYPE html>
<html>
<head>
<title>Advanced Computing for Policy lecture</title>
<meta charset="utf-8" />
<style>
@import url(https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz);
@import url(https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic);
@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700,400italic);
body {
font-family: "Droid Serif";
}
h1,
h2,
h3 {
font-family: "Yanone Kaffeesatz";
font-weight: normal;
}
p,
li {
line-height: 1.5;
}
img {
max-width: 100%;
}
blockquote {
font-style: italic;
color: #666;
}
table {
border-collapse: collapse;
}
table,
th,
td {
border: 1px solid;
}
th,
td {
padding: 0.75rem;
}
.remark-container {
/* https://visualidentity.columbia.edu/branding */
background-color: #b9d9eb;
}
.remark-code,
.remark-inline-code {
font-family: "Ubuntu Mono";
}
</style>
</head>
<body>
<script src="https://remarkjs.com/downloads/remark-latest.min.js"></script>
<script>
const urlParams = new URLSearchParams(window.location.search);
const file = urlParams.get("file");
if (!file) {
alert("No file provided");
}
const slideshow = remark.create({
sourceUrl: file,
});
</script>
</body>
</html>