-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
31 lines (30 loc) · 917 Bytes
/
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
<!DOCTYPE html>
<html>
<head>
<title>GitGud Presentation</title>
<meta charset="utf-8">
<link rel="stylesheet" href="style/style.css"/>
</head>
<body>
<script src="scripts/remark-latest.min.js"></script>
<script type="text/javascript">
var slideshow = remark.create({
sourceUrl: 'gitgud.md',
highlightStyle: 'sunburst'
});
window.addEventListener('load', function() {
// extract the embedded styling from ansi spans
var highlighted = document.querySelectorAll("code.terminal span.hljs-ansi");
Array.prototype.forEach.call(highlighted, function(next) {
next.insertAdjacentHTML("beforebegin", next.textContent);
next.parentNode.removeChild(next);
});
});
</script>
<script>
var slideshow = remark.create({
sourceUrl: 'example.md'
});
</script>
</body>
</html>