-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathindex.html
33 lines (25 loc) · 951 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
32
33
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Kunalan Kevin Subagaran's Resume</title>
<meta name="description" content="Kunalan Kevin Subagaran's Resume">
<link rel="icon" type="image/png" sizes="460x460" href="https://avatars.githubusercontent.com/u/29134503?v=4">
<link rel="stylesheet" href="styles.css">
<script type="module">
import { Octokit } from "https://cdn.skypack.dev/@octokit/core";
const rawMarkdown = await fetch("https://raw.githubusercontent.com/KnlnKS/KnlnKS/main/README.md").then(resp => resp.text());
const octokit = new Octokit();
octokit.request('POST /markdown', {
text: rawMarkdown
}).then(resp => {
document.getElementById("markdown-body").innerHTML = resp.data;
});
</script>
</head>
<body>
<div id="markdown-body">
</div>
</body>
</html>