-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
28 lines (28 loc) · 874 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Dmitrii Chernukho</title>
<link rel="stylesheet" href="/style.css"/>
</head>
<body>
<main>
<a href="https://github.com/gormonn">Me On GitHub</a>
<div id="readme-content" class="loading">
Loading
</div>
</main>
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
<script>
fetch('https://raw.githubusercontent.com/gormonn/gormonn/main/README.md')
.then(response => response.text())
.then(text => {
const content = document.getElementById('readme-content');
content.innerHTML = marked.parse(text);
content.className = 'done';
})
.catch(error => {
console.error('Failed to load README.md:', error);
});
</script>
</body>
</html>