-
Notifications
You must be signed in to change notification settings - Fork 0
/
presentation.html
31 lines (31 loc) · 1.17 KB
/
presentation.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
<html>
<head>
<link rel="icon" href="data:;base64,iVBORw0KGgo=" />
<title>prisma-tech-talk</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="presentation.css" />
</head>
<body class="pointer-events-none">
<script
src="https://remarkjs.com/downloads/remark-latest.min.js"
type="text/javascript"
></script>
<script type="text/javascript">
const slideshow = remark.create({
ratio: '4:3',
sourceUrl: 'presentation.md',
highlightLanguage: 'javascript',
highlightStyle: 'monokai',
});
setTimeout(() => {
document.body.classList.remove('pointer-events-none');
[...document.querySelectorAll('a')].forEach((anchor) => {
const host = new URL(anchor.href).host;
if (host !== document.location.host) {
anchor.setAttribute('target', '_blank');
}
});
}, 1000);
</script>
</body>
</html>