-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
23 lines (19 loc) · 697 Bytes
/
index.html
File metadata and controls
23 lines (19 loc) · 697 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<head>
<meta name="google-site-verification" content="LRdoiCtLy0GMxkAGK6z9AQOkzghCeSbr4YttoXPKeUE" />
</head>
<bod>
<!-- Include the Showdown.js library -->
<script src="showdown.min.js"></script>
<!-- Create a container element for your HTML output -->
<div id="markdown-output" style="max-width: 60%; margin: 0 auto;"></div>
<!-- Create a script to fetch your README.md file and convert it to HTML -->
<script>
fetch('README.md')
.then(response => response.text())
.then(markdown => {
const converter = new showdown.Converter();
const html = converter.makeHtml(markdown);
document.getElementById('markdown-output').innerHTML = html;
});
</script>
</body>