-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathindex.html
More file actions
38 lines (33 loc) · 839 Bytes
/
index.html
File metadata and controls
38 lines (33 loc) · 839 Bytes
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
34
35
36
37
38
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Littlee</title>
<link rel="shortcut icon" href="./images/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="./lib/lostkeys.css">
<link rel="stylesheet" href="./lib/prism.css">
<style>
.main {
max-width: 860px;
margin: auto;
}
.main p > img {
max-width: 100%;
}
</style>
<script src="./lib/prism.js"></script>
<script src="./lib/marked.min.js" data-manual></script>
</head>
<body>
<div class="main line-numbers" id="main">
</div>
<script>
var $main = document.getElementById('main');
fetch('./md/01/index.md').then(res => res.text()).then(res => {
$main.innerHTML = marked(res);
Prism.highlightAllUnder($main);
})
</script>
</body>
</html>