-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
50 lines (44 loc) · 1.24 KB
/
index.html
File metadata and controls
50 lines (44 loc) · 1.24 KB
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
48
49
50
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" type="image/svg+xml" href="docs/logo_small.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- 🔥 Change this -->
<title>AutoVisuals: visualise your arts</title>
<!-- 🔥 Favicon -->
<link rel="icon" type="image/png" href="favicon.png" />
<style>
body{
max-width:900px;
margin:40px auto;
padding:0 16px;
font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial;
}
pre{
overflow:auto;
padding:12px;
border:1px solid #ddd;
border-radius:12px;
}
code{
font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
}
</style>
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
</head>
<body>
<main id="app">Loading…</main>
<script>
const readmeUrl = "https://raw.githubusercontent.com/slothsintel/AutoVisuals/main/README.md";
fetch(readmeUrl)
.then(r => r.text())
.then(md => {
document.getElementById("app").innerHTML = marked.parse(md);
})
.catch(() => {
document.getElementById("app").textContent = "Failed to load README.";
});
</script>
</body>
</html>