-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocs.html
36 lines (35 loc) · 871 Bytes
/
docs.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
<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title>Python bot workshop docs</title>
<style>
* {
padding: 0;
margin: 0;
}
#docs-container {
display: flex;
justify-content: center;
background-color: #eaedef;
}
#docs-container > * {
width: 50%;
margin: 20px;
padding: 10px;
background-color: white;
}
</style>
</head>
<body>
<script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs@2/webcomponents-loader.min.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/gh/zerodevx/zero-md@1/src/zero-md.min.js"></script>
<div id="docs-container">
</div>
<script>
const md = document.createElement('zero-md')
md.src=document.location.hash.slice(1)
document.querySelector('#docs-container').appendChild(md)
</script>
</body>
</html>