-
Notifications
You must be signed in to change notification settings - Fork 3
/
readme.html
47 lines (29 loc) · 1003 Bytes
/
readme.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!DOCTYPE html>
<html>
<head>
<title>MottoBotto</title>
<style>
body {
font-family: Helvetica, Arial, sans-serif;
padding: 20px;
}
</style>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
</head>
<body>
<div id="content"></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/showdown/1.9.1/showdown.min.js"></script>
<script>
fetch("README.md").then(function(response) {
response.text().then(function(text) {
var converter = new showdown.Converter({"tables": true, "ghCompatibleHeaderId": true}),
html = converter.makeHtml(text);
document.getElementById("content").innerHTML = html;
for (let e of document.getElementsByTagName("table")) {
e.classList.add("table");
}
});
});
</script>
</body>
</html>