-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcv.html
24 lines (23 loc) · 805 Bytes
/
cv.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
<!DOCTYPE html>
<html>
<title>CV - Alex Szabo</title>
<!-- Hey, welcome! Please disregard the laziness, but it's more than enough ;) -->
<head>
<!-- Thanks to this guy https://github.com/jasonm23/markdown-css-themes -->
<link rel="stylesheet" href="foghorn.css"></style>
</head>
<body>
<div id="container"> </div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/showdown/1.8.6/showdown.min.js"></script>
<script>
const converter = new showdown.Converter();
fetch("cv.md")
.then(response => response.text())
.then(markdown => {
console.log(markdown);
const html = converter.makeHtml(markdown);
document.getElementById("container").innerHTML = html;
})
</script>
</body>
</html>