Skip to content

Commit 2657d82

Browse files
Update index.html
1 parent 2f9eb09 commit 2657d82

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

index.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,14 @@
55
</head>
66
<body>
77
<p>Welcome to pxt-hardware-programming-docs.</p>
8+
<div id="content"></div>
9+
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
10+
<script>
11+
fetch("README.md")
12+
.then(r => r.text())
13+
.then(md => {
14+
document.getElementById("content").innerHTML = marked.parse(md);
15+
});
16+
</script>
817
</body>
918
</html>

0 commit comments

Comments
 (0)